* [gentoo-commits] gentoo-x86 commit in net-mail/mailgraph: ChangeLog mailgraph-1.14.ebuild
@ 2007-10-22 19:25 Tobias Scherbaum (dertobi123)
0 siblings, 0 replies; 5+ messages in thread
From: Tobias Scherbaum (dertobi123) @ 2007-10-22 19:25 UTC (permalink / raw
To: gentoo-commits
dertobi123 07/10/22 19:25:54
Modified: ChangeLog mailgraph-1.14.ebuild
Log:
Remove unnecessary pkg_preinst() and fix has_version usage, thanks to Donnie Berkholz
(Portage version: 2.1.3.15)
Revision Changes Path
1.24 net-mail/mailgraph/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/ChangeLog?rev=1.24&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/ChangeLog?rev=1.24&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/ChangeLog?r1=1.23&r2=1.24
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- ChangeLog 22 Oct 2007 18:24:57 -0000 1.23
+++ ChangeLog 22 Oct 2007 19:25:54 -0000 1.24
@@ -1,6 +1,11 @@
# ChangeLog for net-mail/mailgraph
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v 1.23 2007/10/22 18:24:57 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v 1.24 2007/10/22 19:25:54 dertobi123 Exp $
+
+ 22 Oct 2007; Tobias Scherbaum <dertobi123@gentoo.org>
+ mailgraph-1.14.ebuild:
+ Remove unnecessary pkg_preinst() and fix has_version usage, thanks to Donnie
+ Berkholz
*mailgraph-1.14 (22 Oct 2007)
1.2 net-mail/mailgraph/mailgraph-1.14.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild?r1=1.1&r2=1.2
Index: mailgraph-1.14.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mailgraph-1.14.ebuild 22 Oct 2007 18:24:57 -0000 1.1
+++ mailgraph-1.14.ebuild 22 Oct 2007 19:25:54 -0000 1.2
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild,v 1.1 2007/10/22 18:24:57 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild,v 1.2 2007/10/22 19:25:54 dertobi123 Exp $
inherit eutils webapp
@@ -43,10 +43,6 @@
mailgraph.cgi || die "sed mailgraph.cgi failed"
}
-pkg_preinst() {
- user_group_setup
-}
-
src_install() {
webapp_src_preinst
# be sure to run webapp_src_install *before* doing the directories below
@@ -96,7 +92,7 @@
pkg_postinst() {
# Fix ownerships - previous versions installed these with
# root as owner
- if [[ has_version <=net-mail/mailgraph-1.12 ]] ; then
+ if has_version '<=net-mail/mailgraph-1.12' ; then
if [[ -d /var/lib/mailgraph ]] ; then
chown mgraph:mgraph /var/lib/mailgraph
fi
--
gentoo-commits@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-mail/mailgraph: ChangeLog mailgraph-1.14.ebuild
@ 2007-12-24 19:33 Brent Baude (ranger)
0 siblings, 0 replies; 5+ messages in thread
From: Brent Baude (ranger) @ 2007-12-24 19:33 UTC (permalink / raw
To: gentoo-commits
ranger 07/12/24 19:33:42
Modified: ChangeLog mailgraph-1.14.ebuild
Log:
Marking mailgraph-1.14 ppc64 for bug 203171
(Portage version: 2.1.3.19)
Revision Changes Path
1.30 net-mail/mailgraph/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/ChangeLog?rev=1.30&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/ChangeLog?rev=1.30&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/ChangeLog?r1=1.29&r2=1.30
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- ChangeLog 24 Dec 2007 13:56:49 -0000 1.29
+++ ChangeLog 24 Dec 2007 19:33:42 -0000 1.30
@@ -1,6 +1,9 @@
# ChangeLog for net-mail/mailgraph
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v 1.29 2007/12/24 13:56:49 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v 1.30 2007/12/24 19:33:42 ranger Exp $
+
+ 24 Dec 2007; Brent Baude <ranger@gentoo.org> mailgraph-1.14.ebuild:
+ Marking mailgraph-1.14 ppc64 for bug 203171
24 Dec 2007; nixnut <nixnut@gentoo.org> mailgraph-1.14.ebuild:
Stable on ppc wrt bug 203171
1.8 net-mail/mailgraph/mailgraph-1.14.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild?r1=1.7&r2=1.8
Index: mailgraph-1.14.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- mailgraph-1.14.ebuild 24 Dec 2007 13:56:49 -0000 1.7
+++ mailgraph-1.14.ebuild 24 Dec 2007 19:33:42 -0000 1.8
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild,v 1.7 2007/12/24 13:56:49 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild,v 1.8 2007/12/24 19:33:42 ranger Exp $
inherit eutils webapp
@@ -9,7 +9,7 @@
SRC_URI="http://mailgraph.schweikert.ch//pub/${P}.tar.gz"
LICENSE="GPL-2"
-KEYWORDS="~amd64 ppc ~ppc64 sparc x86"
+KEYWORDS="~amd64 ppc ppc64 sparc x86"
IUSE=""
RDEPEND="dev-lang/perl
--
gentoo-commits@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-mail/mailgraph: ChangeLog mailgraph-1.14.ebuild
@ 2007-12-24 13:56 Gysbert Wassenaar (nixnut)
0 siblings, 0 replies; 5+ messages in thread
From: Gysbert Wassenaar (nixnut) @ 2007-12-24 13:56 UTC (permalink / raw
To: gentoo-commits
nixnut 07/12/24 13:56:50
Modified: ChangeLog mailgraph-1.14.ebuild
Log:
Stable on ppc wrt bug 203171
(Portage version: 2.1.4_rc11)
Revision Changes Path
1.29 net-mail/mailgraph/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/ChangeLog?rev=1.29&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/ChangeLog?rev=1.29&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/ChangeLog?r1=1.28&r2=1.29
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- ChangeLog 24 Dec 2007 00:50:09 -0000 1.28
+++ ChangeLog 24 Dec 2007 13:56:49 -0000 1.29
@@ -1,6 +1,9 @@
# ChangeLog for net-mail/mailgraph
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v 1.28 2007/12/24 00:50:09 cla Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v 1.29 2007/12/24 13:56:49 nixnut Exp $
+
+ 24 Dec 2007; nixnut <nixnut@gentoo.org> mailgraph-1.14.ebuild:
+ Stable on ppc wrt bug 203171
24 Dec 2007; Dawid Węgliński <cla@gentoo.org> mailgraph-1.14.ebuild:
Stable on x86 (bug #203171)
1.7 net-mail/mailgraph/mailgraph-1.14.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild?r1=1.6&r2=1.7
Index: mailgraph-1.14.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- mailgraph-1.14.ebuild 24 Dec 2007 00:50:09 -0000 1.6
+++ mailgraph-1.14.ebuild 24 Dec 2007 13:56:49 -0000 1.7
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild,v 1.6 2007/12/24 00:50:09 cla Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild,v 1.7 2007/12/24 13:56:49 nixnut Exp $
inherit eutils webapp
@@ -9,7 +9,7 @@
SRC_URI="http://mailgraph.schweikert.ch//pub/${P}.tar.gz"
LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~ppc64 sparc x86"
+KEYWORDS="~amd64 ppc ~ppc64 sparc x86"
IUSE=""
RDEPEND="dev-lang/perl
--
gentoo-commits@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-mail/mailgraph: ChangeLog mailgraph-1.14.ebuild
@ 2007-10-22 20:51 Raul Porcel (armin76)
0 siblings, 0 replies; 5+ messages in thread
From: Raul Porcel (armin76) @ 2007-10-22 20:51 UTC (permalink / raw
To: gentoo-commits
armin76 07/10/22 20:51:27
Modified: ChangeLog mailgraph-1.14.ebuild
Log:
Add ~sparc wrt #192992
(Portage version: 2.1.3.9)
Revision Changes Path
1.25 net-mail/mailgraph/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/ChangeLog?rev=1.25&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/ChangeLog?rev=1.25&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/ChangeLog?r1=1.24&r2=1.25
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- ChangeLog 22 Oct 2007 19:25:54 -0000 1.24
+++ ChangeLog 22 Oct 2007 20:51:26 -0000 1.25
@@ -1,6 +1,9 @@
# ChangeLog for net-mail/mailgraph
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v 1.24 2007/10/22 19:25:54 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v 1.25 2007/10/22 20:51:26 armin76 Exp $
+
+ 22 Oct 2007; Raúl Porcel <armin76@gentoo.org> mailgraph-1.14.ebuild:
+ Add ~sparc wrt #192992
22 Oct 2007; Tobias Scherbaum <dertobi123@gentoo.org>
mailgraph-1.14.ebuild:
1.3 net-mail/mailgraph/mailgraph-1.14.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild?r1=1.2&r2=1.3
Index: mailgraph-1.14.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mailgraph-1.14.ebuild 22 Oct 2007 19:25:54 -0000 1.2
+++ mailgraph-1.14.ebuild 22 Oct 2007 20:51:26 -0000 1.3
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild,v 1.2 2007/10/22 19:25:54 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild,v 1.3 2007/10/22 20:51:26 armin76 Exp $
inherit eutils webapp
@@ -9,7 +9,7 @@
SRC_URI="http://mailgraph.schweikert.ch//pub/${P}.tar.gz"
LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="logrotate"
RDEPEND="dev-lang/perl
--
gentoo-commits@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-mail/mailgraph: ChangeLog mailgraph-1.14.ebuild
@ 2007-10-22 18:24 Tobias Scherbaum (dertobi123)
0 siblings, 0 replies; 5+ messages in thread
From: Tobias Scherbaum (dertobi123) @ 2007-10-22 18:24 UTC (permalink / raw
To: gentoo-commits
dertobi123 07/10/22 18:24:58
Modified: ChangeLog
Added: mailgraph-1.14.ebuild
Log:
Version bump
(Portage version: 2.1.3.15)
Revision Changes Path
1.23 net-mail/mailgraph/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/ChangeLog?rev=1.23&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/ChangeLog?rev=1.23&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/ChangeLog?r1=1.22&r2=1.23
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- ChangeLog 15 Oct 2007 14:44:23 -0000 1.22
+++ ChangeLog 22 Oct 2007 18:24:57 -0000 1.23
@@ -1,6 +1,12 @@
# ChangeLog for net-mail/mailgraph
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v 1.22 2007/10/15 14:44:23 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v 1.23 2007/10/22 18:24:57 dertobi123 Exp $
+
+*mailgraph-1.14 (22 Oct 2007)
+
+ 22 Oct 2007; Tobias Scherbaum <dertobi123@gentoo.org>
+ +mailgraph-1.14.ebuild:
+ Version bump
15 Oct 2007; Markus Rothe <corsair@gentoo.org> mailgraph-1.13.ebuild:
Stable on ppc64
1.1 net-mail/mailgraph/mailgraph-1.14.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild?rev=1.1&content-type=text/plain
Index: mailgraph-1.14.ebuild
===================================================================
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild,v 1.1 2007/10/22 18:24:57 dertobi123 Exp $
inherit eutils webapp
DESCRIPTION="A mail statistics RRDtool frontend for Postfix"
HOMEPAGE="http://mailgraph.schweikert.ch/"
SRC_URI="http://mailgraph.schweikert.ch//pub/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="logrotate"
RDEPEND="dev-lang/perl
dev-perl/File-Tail
>=net-analyzer/rrdtool-1.2.2
logrotate? ( app-admin/logrotate )"
DEPEND=">=sys-apps/sed-4"
user_group_setup() {
# add user and group for mailgraph daemon
# also add mgraph to the group adm so it's able to
# read syslog logfile /var/log/messages (should be owned by
# root:adm with permission 0640)
enewgroup mgraph
enewuser mgraph -1 -1 /var/empty mgraph,adm
}
pkg_setup() {
webapp_pkg_setup
built_with_use net-analyzer/rrdtool perl \
|| die "net-analyzer/rrdtool must be built with USE=perl"
user_group_setup
}
src_unpack() {
unpack ${A}
cd "${S}"
sed -i \
-e "s|\(my \$rrd = '\).*'|\1/var/lib/mailgraph/mailgraph.rrd'|" \
-e "s|\(my \$rrd_virus = '\).*'|\1/var/lib/mailgraph/mailgraph_virus.rrd'|" \
mailgraph.cgi || die "sed mailgraph.cgi failed"
}
pkg_preinst() {
user_group_setup
}
src_install() {
webapp_src_preinst
# be sure to run webapp_src_install *before* doing the directories below
# because it cripples all other permissions :-(
webapp_src_install
# for the RRDs
dodir /var/lib
diropts -omgraph -gmgraph -m0750
dodir /var/lib/mailgraph
keepdir /var/lib/mailgraph
# log and pid file
diropts ""
dodir /var/log
dodir /var/run
diropts -omgraph -gadm -m0750
dodir /var/log/mailgraph
keepdir /var/log/mailgraph
dodir /var/run/mailgraph
keepdir /var/run/mailgraph
if use logrotate ; then
# logrotate config for mailgraph log
diropts ""
dodir /etc/logrotate.d
insopts -m0644
insinto /etc/logrotate.d
newins "${FILESDIR}"/mailgraph.logrotate-new mailgraph
fi
# mailgraph daemon
newbin mailgraph.pl mailgraph
# mailgraph CGI script
exeinto ${MY_CGIBINDIR}
doexe mailgraph.cgi
# init/conf files for mailgraph daemon
newinitd "${FILESDIR}"/mailgraph.initd-new mailgraph
newconfd "${FILESDIR}"/mailgraph.confd-new mailgraph
# docs
dodoc README CHANGES COPYING
}
pkg_postinst() {
# Fix ownerships - previous versions installed these with
# root as owner
if [[ has_version <=net-mail/mailgraph-1.12 ]] ; then
if [[ -d /var/lib/mailgraph ]] ; then
chown mgraph:mgraph /var/lib/mailgraph
fi
if [[ -d /var/log/mailgraph ]] ; then
chown mgraph:adm /var/log/mailgraph
fi
if [[ -d /var/run/mailgraph ]] ; then
chown mgraph:adm /var/run/mailgraph
fi
fi
elog
elog "Mailgraph will run as user mgraph with group adm by default."
elog "This can be changed in /etc/conf.d/mailgraph if it doesn't fit."
elog "Remember to adjust MG_DAEMON_LOG, MG_DAEMON_PID and MG_DAEMON_RRD"
elog "as well!"
elog
elog
ewarn
ewarn "Please make sure the MG_LOGFILE (default: /var/log/messages) is readable"
ewarn "by group adm or change MG_DAEMON_GID in /etc/conf.d/mailgraph accordingly!"
ewarn
ewarn "Please make sure *all* mail related logs (MTA, spamfilter, virus scanner)"
ewarn "go to the file /var/log/messages or change MG_LOGFILE in"
ewarn "/etc/conf.d/mailgraph accordingly! Otherwise mailgraph won't get to know"
ewarn "the corresponding events (virus/spam mail found etc.)."
ewarn
ewarn
elog
elog "Checking for user apache"
if egetent passwd apache >&/dev/null; then
elog
elog "Adding user apache to group mgraph so the included"
elog "CGI script is able to read the mailgraph RRD files"
elog
if ! gpasswd -a apache mgraph >&/dev/null; then
eerror "Failed to add user apache to group mgraph!"
eerror "Please check manually."
fi
else
elog
elog "User apache not found, maybe we will be running a"
elog "webserver with a different UID?"
elog "If that's the case, please add that user to the"
elog "group mgraph manually to enable the included"
elog "CGI script to read the mailgraph RRD files:"
elog
elog "\tgpasswd -a <user> mgraph"
elog
fi
}
--
gentoo-commits@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-12-24 19:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-22 19:25 [gentoo-commits] gentoo-x86 commit in net-mail/mailgraph: ChangeLog mailgraph-1.14.ebuild Tobias Scherbaum (dertobi123)
-- strict thread matches above, loose matches on Subject: below --
2007-12-24 19:33 Brent Baude (ranger)
2007-12-24 13:56 Gysbert Wassenaar (nixnut)
2007-10-22 20:51 Raul Porcel (armin76)
2007-10-22 18:24 Tobias Scherbaum (dertobi123)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox