Commit graph

55 commits

Author SHA1 Message Date
Doug Barton
dae082c958 Fix what looks like a copy-paste-o that originated in the same script:
command=foo >/dev/null 2>&1
	|
	v
command=foo
command_args='>/dev/null 2>&1'

This is clearly what should have been done, for several reasons.

No PORTREVISION bump because the old version simply ignored everything
after the space, and does not seem to have done any harm. However
it's good to clean these up so that similar errors aren't pasted into
a new script where they might actually matter.
2012-08-06 00:28:43 +00:00
Andrej Zverev
042ea2947a - Remove SITE_PERL from *_DEPENDS
Approved by: portmgr@ (bapt@)
2012-06-29 18:30:42 +00:00
Sylvio Cesar Teixeira
b240caf9e4 - Chase rrdtool shlib version bump. 2012-05-07 18:52:09 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Rong-En Fan
93e420afe5 - Added metrics for clapf and postscreen
PR:		ports/162679
Submitted by:	Geoffroy Desvernay <dgeo at centrale-marseille.fr>
Obtained from:	http://lists.ee.ethz.ch/mailgraph/msg00413.html
Feature safe:	yes
2011-11-27 11:40:25 +00:00
Olli Hauer
c5284f2b4e - remove MD5 2011-07-03 13:53:52 +00:00
Dirk Meyer
de78af3ac5 - update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
2010-03-28 06:47:48 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Rong-En Fan
c1dece6a00 - Chase rrdtool 1.3.0 update, bump PORTREVISION
PR:		ports/124749
Submitted by:	Zhen REN <bg1tpt at gmail.com> (maintainer of rrdtool)
2008-06-24 12:34:56 +00:00
Rong-En Fan
ae0931ac45 - Make rc variables can be properly set by users. Default variables should be
handled after load_rc_config per Handbook. For example, if user sets
  name_pidfile in rc.conf, it does not correctly pass to name_flags because
  when we set name_flags, it uses our default name_pidfile, but not user's.
- Bump PORTREVISION as rc scripts changed.

Approved by:	portmgr (pav), Xavier Beaudouin <kiwi at oav.net> (ovs maintainer)
2007-12-03 02:24:19 +00:00
Mark Linimon
bffa037ab9 Add USE_PERL5. This will be needed to conditionalize bsd.perl.mk inclusion.
Approved by:	maintainer
2007-09-30 07:37:07 +00:00
Rong-En Fan
1109272a37 - Add CGIDIR and WWWROOT knobs to set the location for cgi and css
file.

Tested by:	Eric <eric at mikestammer.com>
2007-09-11 14:43:23 +00:00
Rong-En Fan
1a03bc8ef2 - Update to 1.14
- Install the new born css file into ${PREFIX}/www/mailgraph/. This is
  the best solution, which requires minimal efforts after installation. [1]

Discussed on:	freebsd-ports@ [1]
2007-09-06 14:53:14 +00:00
Rong-En Fan
f5fbe32574 - Remove MAILGRAPH_GROUP from pre-everything message and mailgraph_group
from rc script to avoid user confusion. We can not setgid for command
  invoked from rc.subr. [1]
- Change rc script to match our guideline in Porter's Handbook

Noticed by:	Nicolas Rachinsky <nicolas-2007 at rachinsky.de> [1]
2007-08-08 13:47:18 +00:00
Rong-En Fan
df3396485b - Strip .sh suffix for rc script for upcoming changes 2007-08-08 13:40:40 +00:00
Gabor Kovesdan
42542fb076 - Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
2007-08-04 11:41:30 +00:00
Edwin Groothuis
3de5a84967 First steps in a big migration:
Move net/rrdtool to databases/rrdtool.

    It's an itch which needs to be scratched: net/rrdtool came from
    net/mrtg, which was a good location for it. net/mrtg has later
    been moved to net-mgmt/mrtg. net/rrdtool is "Round Robin Database
    Tools", therefor it's better if it moves to databases/rrdtool.
    Same with net/rrdtool10.

PR:		ports/112942
Submitted by:	Edwin Groothuis <edwin@mavetju.org>
2007-07-05 06:19:49 +00:00
Rong-En Fan
799a754e55 - Update to 1.13 [1]
- Refine pkg-message [2]

PR:		ports/111707 [1]
Submitted by:	Olli Hauer <ohauer at gmx.de> [1]
Suggested by:	Dan Langille [2]
2007-04-16 09:06:56 +00:00
Rong-En Fan
750307b1c1 - Respect DESTDIR
PR:		ports/101876
Submitted by:	Gea-Suan Lin <gslin at gslin.org>
2006-08-13 10:15:16 +00:00
Rong-En Fan
ba5a82b53b Change to my FreeBSD.org email.
Approved by:	delphij (mentor)
2006-06-27 03:58:58 +00:00
Edwin Groothuis
efe7d5f7f4 Remove USE_REINPLACE from ports starting with M 2006-05-10 22:37:39 +00:00
Doug Barton
c49d1a3273 Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
2006-02-20 20:47:50 +00:00
Cheng-Lung Sung
4c1879162a - It has been long time that mailgraph uses rcNG script,
put a message so users know how to set variable in rc.conf.

PR:		93454
Submitted by:	maintainer (Rong-En Fan)
2006-02-17 02:35:49 +00:00
Edwin Groothuis
80840e8dc5 SHA256ify
Approved by: krion@
2006-01-22 12:50:54 +00:00
Edwin Groothuis
0416031c9b Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 02:20:05 +00:00
Vanilla I. Shu
dfb05ab82a Rename mailgraph.sh.tmpl to mailgraph.sh.in.
Submitted by: maintainer
2005-12-20 12:20:47 +00:00
Vanilla I. Shu
fbb3b24a51 USE_RC_SUBR changes.
PR:		ports/90678
Submitted by:	maintainer
2005-12-20 08:46:07 +00:00
Pav Lucistnik
c9e533e2d8 - Update to 1.12
PR:		ports/87722
Submitted by:	Rong-En Fan <rafan@infor.org> (maintainer)
2005-10-21 20:41:02 +00:00
Ying-Chieh Liao
fe3fbe62a1 It supports more spam/virus filter's log messages, and
compatible with RRDtool 1.2.x now (I just tested this).

PR:		82419
Submitted by:	maintainer
2005-06-20 01:27:53 +00:00
Cheng-Lung Sung
710cdb96a2 - update to 1.10
- From CHANGES
2004-10-21
----------
* dspam support (Nagilum)
* change CGI to use parameters instead of PATH_INFO, which not all web-servers support

2004-10-04
----------
* Avoid showing "milli-messages/s" on the y scale (R.M. Evers)
* Added --rbl-is-spam flag (David Gibbs)
* Sendmail fixes (David Gibbs)
* amavisd-new <= 20030616 (R.M. Evers)

2004-08-18
----------
* Sendmail fixes (David Gibbs)
* Line intead of area for rejects

PR:		ports/73518
Submitted by:	Rong-En Fan (maintainer)
Approved by:	co-mentor (vanilla)
2004-11-04 12:29:11 +00:00
Pav Lucistnik
26da1d1fce - Use ${WWWOWN} and ${WWWGRP} instead of hardcoded www:www
PR:		ports/72198
Submitted by:	Gea-Suan Lin <gslin@netnews.NCTU.edu.tw>
Approved by:	Rong-En Fan <rafan@infor.org> (maintainer)
2004-10-11 23:00:16 +00:00
Volker Stolz
01e6bce22f Update to 1.9
Based on PR:		ports/68983
Submitted by:		Chris Howells
Via:			Rong-En Fan (maintainer)
2004-07-13 15:29:25 +00:00
Volker Stolz
a3c1b7e6f7 Fix path to perl.
PR:		ports/67709
Submitted by:	maintainer
2004-06-09 10:38:25 +00:00
Kris Kennaway
af18d6b419 Don't remove www/ now that it is created by the system. 2004-06-09 06:16:06 +00:00
Jun Kuriyama
08889ec05b Let user specify rrd database path, user/group to run mailgraph.
PR:		ports/66596
Submitted by:	Rong-En Fan <rafan@infor.org> (maintainer)
2004-05-13 07:04:53 +00:00
Volker Stolz
cad3d8096f - Modify mail/mailgraph to use rc.subr
- Change rrd database from to /var/db/mailgraph.

PR:		ports/66562
Submitted by:	Rong-En Fan (maintainer)
2004-05-12 11:59:07 +00:00
Vanilla I. Shu
a7b77f8587 Submitter take maintainership.
PR:		ports/66510
Submitted by:	Rong-En Fan <rafan at infor_dot_org>
2004-05-11 13:12:18 +00:00
Oliver Eikemeier
7b31020cb6 Drop maintainership.
PR:		66502
Submitted by:	Gea-Suan Lin <gslin@netnews.NCTU.edu.tw> (maintainer)
2004-05-11 01:37:22 +00:00
Pav Lucistnik
975294508d - Update to 1.8
PR:		ports/64228
Submitted by:	Toshiya SAITOH <toshiya@saitoh.nu>
Approved by:	maintainer timeout (2 weeks)
2004-04-02 07:42:56 +00:00
Mathieu Arnold
545cf83043 Update to 1.7
Add the place where the author store old versions of mailgraph to MASTER_SITES
SIZEify

Approved by:	maintainer
2004-02-02 11:44:17 +00:00
Mathieu Arnold
6e7b02c630 Update to 1.6
Approved by:	maintainer
2004-01-27 10:55:35 +00:00
Jun Kuriyama
88cab673f6  2003-12-28 08:01:14 +00:00
Ying-Chieh Liao
7f6827eab4 upgrade to 1.4
PR:		53605
Submitted by:	maintainer
2003-06-22 03:16:55 +00:00
Akinori MUSHA
4d0a0dc1c6 De-pkg-comment. 2003-02-21 12:51:06 +00:00
Pete Fritchman
367a6b1dce Update to 1.2.
PR:		46956
Submitted by:	maintainer
2003-01-10 19:44:56 +00:00
Ying-Chieh Liao
370c43c53f upgrade to 1.0
PR:		46680
Submitted by:	maintainer
2003-01-03 05:59:36 +00:00
Ying-Chieh Liao
c882b858f2 upgrade to 0.23
PR:		45284
Submitted by:	markun@onohara.to
Approved by:	maintainer
2002-11-15 17:58:02 +00:00
Kris Kennaway
da12ab6ad6 Fix build [1] and update to mailgraph-0.22 [2]
Submitted by:	Olivier Tharan <olive@oban.frmug.org> [1] (based on),
		Gea-Suan Lin <gslin@Infomath.math.NCTU.edu.tw> (maintainer)
PR:		ports/43637 [1], ports/43350 [2]
2002-10-14 01:11:05 +00:00
Kris Kennaway
6533734b72 BROKEN: Does not install in correct location 2002-10-05 22:06:04 +00:00
Anton Berezin
07a650e0f2 Fix distinfo.
Submitted by:	maintainer
PR:		42683
2002-09-12 09:29:48 +00:00