public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-mail/mailgraph: ChangeLog mailgraph-1.14-r2.ebuild
@ 2011-08-19 19:00 Eray Aslan (eras)
  0 siblings, 0 replies; 3+ messages in thread
From: Eray Aslan (eras) @ 2011-08-19 19:00 UTC (permalink / raw
  To: gentoo-commits

eras        11/08/19 19:00:53

  Modified:             ChangeLog
  Added:                mailgraph-1.14-r2.ebuild
  Log:
  Drop webapps eclass - bug #379535
  
  (Portage version: 2.1.10.11/cvs/Linux x86_64)

Revision  Changes    Path
1.38                 net-mail/mailgraph/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mailgraph/ChangeLog?rev=1.38&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mailgraph/ChangeLog?rev=1.38&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mailgraph/ChangeLog?r1=1.37&r2=1.38

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- ChangeLog	19 Aug 2011 18:54:44 -0000	1.37
+++ ChangeLog	19 Aug 2011 19:00:53 -0000	1.38
@@ -1,8 +1,8 @@
 # ChangeLog for net-mail/mailgraph
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v 1.37 2011/08/19 18:54:44 eras Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v 1.38 2011/08/19 19:00:53 eras Exp $
 
-  19 Aug 2011; Eray Aslan <eras@gentoo.org> mailgraph-1.14-r1.ebuild:
+  19 Aug 2011; Eray Aslan <eras@gentoo.org> +mailgraph-1.14-r2.ebuild:
   Drop webapps eclass - bug #379535
 
 *mailgraph-1.14-r1 (07 Jul 2011)



1.1                  net-mail/mailgraph/mailgraph-1.14-r2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mailgraph/mailgraph-1.14-r2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mailgraph/mailgraph-1.14-r2.ebuild?rev=1.1&content-type=text/plain

Index: mailgraph-1.14-r2.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/mailgraph-1.14-r2.ebuild,v 1.1 2011/08/19 19:00:53 eras Exp $

EAPI=4
inherit eutils

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"
# Change SLOT to 0 when appropriate
SLOT="1.14"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""

RDEPEND="dev-lang/perl
	dev-perl/File-Tail
	>=net-analyzer/rrdtool-1.2.2[perl]"
DEPEND=">=sys-apps/sed-4"

pkg_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
}

src_prepare() {
	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"
}

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

	# logrotate config for mailgraph log
	diropts ""
	dodir /etc/logrotate.d
	insopts -m0644
	insinto /etc/logrotate.d
	newins "${FILESDIR}"/mailgraph.logrotate-new mailgraph

	# mailgraph daemon
	newbin mailgraph.pl mailgraph

	# mailgraph CGI script
	exeinto /usr/share/${PN}
	doexe mailgraph.cgi
	insinto  /usr/share/${PN}
	doins mailgraph.css

	# init/conf files for mailgraph daemon
	newinitd "${FILESDIR}"/mailgraph.initd-new mailgraph
	newconfd "${FILESDIR}"/mailgraph.confd-new mailgraph

	# docs
	dodoc README CHANGES
}

pkg_postinst() {
	# Fix ownerships - previous versions installed these with
	# root as owner
	if [[ ${REPLACING_VERSIONS} < 1.13 ]] ; 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 "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!"
	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.)."
	elog
	elog "Checking for user apache:"
	if egetent passwd apache >&/dev/null; then
		elog "Adding user apache to group mgraph so the included"
		elog "CGI script is able to read the mailgraph RRD files"
		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"
	fi
	ewarn
	ewarn "mailgraph.cgi is installed in /usr/share/${PN}/"
	ewarn "You need to put it somewhere accessible though a web-server."
}






^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-mail/mailgraph: ChangeLog mailgraph-1.14-r2.ebuild
@ 2011-09-25 20:10 Tony Vroon (chainsaw)
  0 siblings, 0 replies; 3+ messages in thread
From: Tony Vroon (chainsaw) @ 2011-09-25 20:10 UTC (permalink / raw
  To: gentoo-commits

chainsaw    11/09/25 20:10:52

  Modified:             ChangeLog mailgraph-1.14-r2.ebuild
  Log:
  Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo & Ian "idella4" Delaney in bug #379893.
  
  (Portage version: 2.1.10.18/cvs/Linux x86_64)

Revision  Changes    Path
1.40                 net-mail/mailgraph/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mailgraph/ChangeLog?rev=1.40&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mailgraph/ChangeLog?rev=1.40&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mailgraph/ChangeLog?r1=1.39&r2=1.40

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- ChangeLog	19 Aug 2011 19:18:38 -0000	1.39
+++ ChangeLog	25 Sep 2011 20:10:52 -0000	1.40
@@ -1,6 +1,10 @@
 # ChangeLog for net-mail/mailgraph
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v 1.39 2011/08/19 19:18:38 eras Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v 1.40 2011/09/25 20:10:52 chainsaw Exp $
+
+  25 Sep 2011; Tony Vroon <chainsaw@gentoo.org> mailgraph-1.14-r2.ebuild:
+  Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo & Ian
+  "idella4" Delaney in bug #379893.
 
   19 Aug 2011; Eray Aslan <eras@gentoo.org> -mailgraph-1.14-r1.ebuild:
   remove un-upgradable version



1.2                  net-mail/mailgraph/mailgraph-1.14-r2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mailgraph/mailgraph-1.14-r2.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mailgraph/mailgraph-1.14-r2.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mailgraph/mailgraph-1.14-r2.ebuild?r1=1.1&r2=1.2

Index: mailgraph-1.14-r2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-mail/mailgraph/mailgraph-1.14-r2.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mailgraph-1.14-r2.ebuild	19 Aug 2011 19:00:53 -0000	1.1
+++ mailgraph-1.14-r2.ebuild	25 Sep 2011 20:10:52 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/mailgraph-1.14-r2.ebuild,v 1.1 2011/08/19 19:00:53 eras Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/mailgraph-1.14-r2.ebuild,v 1.2 2011/09/25 20:10:52 chainsaw Exp $
 
 EAPI=4
 inherit eutils
@@ -12,7 +12,7 @@
 LICENSE="GPL-2"
 # Change SLOT to 0 when appropriate
 SLOT="1.14"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE=""
 
 RDEPEND="dev-lang/perl






^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-mail/mailgraph: ChangeLog mailgraph-1.14-r2.ebuild
@ 2011-10-01  3:17 PaweA Hajdan (phajdan.jr)
  0 siblings, 0 replies; 3+ messages in thread
From: PaweA Hajdan (phajdan.jr) @ 2011-10-01  3:17 UTC (permalink / raw
  To: gentoo-commits

phajdan.jr    11/10/01 03:17:49

  Modified:             ChangeLog mailgraph-1.14-r2.ebuild
  Log:
  x86 stable wrt bug #379893
  
  (Portage version: 2.1.10.11/cvs/Linux i686)

Revision  Changes    Path
1.41                 net-mail/mailgraph/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mailgraph/ChangeLog?rev=1.41&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mailgraph/ChangeLog?rev=1.41&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mailgraph/ChangeLog?r1=1.40&r2=1.41

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- ChangeLog	25 Sep 2011 20:10:52 -0000	1.40
+++ ChangeLog	1 Oct 2011 03:17:49 -0000	1.41
@@ -1,6 +1,10 @@
 # ChangeLog for net-mail/mailgraph
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v 1.40 2011/09/25 20:10:52 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v 1.41 2011/10/01 03:17:49 phajdan.jr Exp $
+
+  01 Oct 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org>
+  mailgraph-1.14-r2.ebuild:
+  x86 stable wrt bug #379893
 
   25 Sep 2011; Tony Vroon <chainsaw@gentoo.org> mailgraph-1.14-r2.ebuild:
   Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo & Ian



1.3                  net-mail/mailgraph/mailgraph-1.14-r2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mailgraph/mailgraph-1.14-r2.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mailgraph/mailgraph-1.14-r2.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mailgraph/mailgraph-1.14-r2.ebuild?r1=1.2&r2=1.3

Index: mailgraph-1.14-r2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-mail/mailgraph/mailgraph-1.14-r2.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mailgraph-1.14-r2.ebuild	25 Sep 2011 20:10:52 -0000	1.2
+++ mailgraph-1.14-r2.ebuild	1 Oct 2011 03:17:49 -0000	1.3
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/mailgraph-1.14-r2.ebuild,v 1.2 2011/09/25 20:10:52 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/mailgraph-1.14-r2.ebuild,v 1.3 2011/10/01 03:17:49 phajdan.jr Exp $
 
 EAPI=4
 inherit eutils
@@ -12,7 +12,7 @@
 LICENSE="GPL-2"
 # Change SLOT to 0 when appropriate
 SLOT="1.14"
-KEYWORDS="amd64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86"
 IUSE=""
 
 RDEPEND="dev-lang/perl






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-10-01  3:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-19 19:00 [gentoo-commits] gentoo-x86 commit in net-mail/mailgraph: ChangeLog mailgraph-1.14-r2.ebuild Eray Aslan (eras)
  -- strict thread matches above, loose matches on Subject: below --
2011-09-25 20:10 Tony Vroon (chainsaw)
2011-10-01  3:17 PaweA Hajdan (phajdan.jr)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox