head	1.22;
access;
symbols
	RELEASE_8_3_0:1.18
	RELEASE_9_0_0:1.18
	RELEASE_7_4_0:1.16
	RELEASE_8_2_0:1.16
	RELEASE_6_EOL:1.16
	RELEASE_8_1_0:1.14
	RELEASE_7_3_0:1.12
	RELEASE_8_0_0:1.10
	RELEASE_7_2_0:1.6
	RELEASE_7_1_0:1.4
	RELEASE_6_4_0:1.4
	RELEASE_5_EOL:1.2
	RELEASE_7_0_0:1.2
	RELEASE_6_3_0:1.2;
locks; strict;
comment	@# @;


1.22
date	2013.03.02.19.56.59;	author svnexp;	state Exp;
branches;
next	1.21;

1.21
date	2013.02.28.17.51.58;	author svnexp;	state Exp;
branches;
next	1.20;

1.20
date	2012.11.17.06.03.08;	author svnexp;	state Exp;
branches;
next	1.19;

1.19
date	2012.10.30.19.43.43;	author rm;	state Exp;
branches;
next	1.18;

1.18
date	2011.11.21.23.23.25;	author brooks;	state Exp;
branches;
next	1.17;

1.17
date	2011.03.04.14.44.50;	author brooks;	state Exp;
branches;
next	1.16;

1.16
date	2010.08.10.21.06.46;	author brooks;	state Exp;
branches;
next	1.15;

1.15
date	2010.07.22.23.00.17;	author brooks;	state Exp;
branches;
next	1.14;

1.14
date	2010.05.18.04.07.57;	author pgollucci;	state Exp;
branches;
next	1.13;

1.13
date	2010.05.05.21.52.25;	author pgollucci;	state Exp;
branches;
next	1.12;

1.12
date	2010.03.02.20.58.03;	author brooks;	state Exp;
branches;
next	1.11;

1.11
date	2009.12.13.16.28.01;	author miwi;	state Exp;
branches;
next	1.10;

1.10
date	2009.08.21.20.33.28;	author brooks;	state Exp;
branches;
next	1.9;

1.9
date	2009.05.22.17.53.27;	author glarkin;	state Exp;
branches;
next	1.8;

1.8
date	2009.05.06.22.15.15;	author glarkin;	state Exp;
branches;
next	1.7;

1.7
date	2009.05.04.20.31.55;	author miwi;	state Exp;
branches;
next	1.6;

1.6
date	2009.04.10.15.14.09;	author brooks;	state Exp;
branches;
next	1.5;

1.5
date	2009.01.19.23.28.13;	author beech;	state Exp;
branches;
next	1.4;

1.4
date	2008.07.07.11.45.23;	author miwi;	state Exp;
branches;
next	1.3;

1.3
date	2008.06.06.14.07.17;	author edwin;	state Exp;
branches;
next	1.2;

1.2
date	2007.08.02.12.11.07;	author miwi;	state Exp;
branches;
next	1.1;

1.1
date	2007.05.27.17.34.05;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.22
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313241
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Gerrit Beine <gerrit.beine@@gmx.de>
# $FreeBSD: head/www/trac-email2trac/Makefile 313241 2013-03-02 14:41:33Z miwi $

PORTNAME=	email2trac
PORTVERSION=	2.6.2
CATEGORIES=	www devel python
MASTER_SITES=	ftp://ftp.sara.nl/pub/outgoing/
PKGNAMEPREFIX=	trac-

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Convert email to trac tickets

LICENSE=	GPLv2 GPLv3
LICENSE_COMB=	dual

RUN_DEPENDS+=	tracd:${PORTSDIR}/www/trac

OPTIONS_DEFINE=	POSTFIX
POSTFIX_DESC=	Configure suid script for postfix

TRACUSER?=	${WWWOWN}

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-trac-user=${TRACUSER} --with-mta-user=${MTAUSER}
USE_PYTHON=	-2.7

PORTDOCS=	AUTHORS ChangeLog INSTALL README

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MPOSTFIX}
MTAUSER?=	nobody
.else
MTAUSER?=	mailnull
.endif

do-install:
	@@${INSTALL_SCRIPT} ${WRKSRC}/delete_spam.py ${PREFIX}/bin/delete_spam
	@@${INSTALL_SCRIPT} ${WRKSRC}/email2trac.py ${PREFIX}/bin/email2trac
	@@${INSTALL} ${COPY} ${STRIP} ${_BINOWNGRP} -m 4111 \
	    ${WRKSRC}/run_email2trac ${PREFIX}/bin
	@@${INSTALL_DATA} ${WRKSRC}/email2trac.conf \
	    ${PREFIX}/etc/email2trac.conf.sample
	@@if [ ! -e ${PREFIX}/etc/email2trac.conf ]; then \
		${CP} -p ${PREFIX}/etc/email2trac.conf.sample \
		    ${PREFIX}/etc/email2trac.conf ; \
	fi
.if ${PORT_OPTIONS:MDOCS}
	@@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
	@@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>
@


1.21
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313115
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/www/trac-email2trac/Makefile 313115 2013-02-28 17:06:36Z brooks $
d5 1
a5 2
PORTVERSION=	2.4.5
PORTREVISION=	1
d28 1
a28 1
PORTDOCS=	AUTHORS COPYING ChangeLog INSTALL README
@


1.20
log
@Switch exporter over
@
text
@d2 1
a2 1
# $FreeBSD: head/www/trac-email2trac/Makefile 306700 2012-10-30 19:43:43Z rm $
d11 1
a11 1
MAINTAINER=	brooks@@FreeBSD.org
@


1.19
log
@SVN rev 306700 on 2012-10-30 19:43:43Z by rm

- remove bogus setuptools dependency
- convert to optionsng
- trim Makefile header
- limit python version to 2.x only

PR:		173166
Submitted by:	rm (myself)
Approved by:	brooks (maintainer, by mail)
Feature safe:	yes
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.18
log
@Upgrade to the latest version of email2trac, 2.4.5.

Feature safe:	yes
@
text
@d1 1
a1 4
# New ports collection makefile for: trac-email2trac
# Date created:                      May 18 2007
# Whom:                              Gerrit Beine <gerrit.beine@@gmx.de>
#
a2 1
#
d6 1
a16 1
BUILD_DEPENDS+=	easy_install:${PORTSDIR}/devel/py-setuptools
d19 2
a20 1
OPTIONS=	POSTFIX "Configure suid script for postfix" OFF
d27 1
a27 1
USE_PYTHON=	yes
d31 1
a31 1
.include <bsd.port.pre.mk>
d33 1
a33 1
.if defined(WITH_POSTFIX)
d50 1
a50 1
.if !defined(NOPORTDOCS)
d57 1
a57 1
.include <bsd.port.post.mk>
@


1.17
log
@Upgrade to version 2.0.2.
@
text
@d9 1
a9 1
PORTVERSION=	2.0.2
@


1.16
log
@Upgrade to 1.6.0.
@
text
@d9 1
a9 1
PORTVERSION=	1.6.0
@


1.15
log
@Upgrade to version 1.5.1.  Major changes include adding support for Trac
0.12 and dropping support for 0.9.
@
text
@d9 1
a9 1
PORTVERSION=	1.5.1
@


1.14
log
@- Chase devel/apr -> devel/apr1 shuffling

PR:             ports/146553
Submitted by:   myself (pgollucci@@)
With Hat:       apache@@
@
text
@d9 1
a9 2
PORTVERSION=	1.2.0
PORTREVISION=	2
d17 3
@


1.13
log
@4/5: Chase devel/apr shlib bump

PR:             ports/146130
Approved by:    portmgr (pav)
Tested by:      -exp run (pav)
With Hat:       apache@@
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.12
log
@Upgrade to version 1.2.0.

Feature safe:	 yes
@
text
@d10 1
@


1.11
log
@- Get rip python 2.3+

Note:
Python 2.3 is't longer supported and have a lot of security issues.
Convert 2.3+ to yes/or 2.4/5+

With hat:	portmgr
@
text
@d9 1
a9 1
PORTVERSION=	0.90
@


1.10
log
@Upgrade to email2trac 0.90.
@
text
@d27 1
a27 1
USE_PYTHON=	2.3+
@


1.9
log
@- Reassign maintainer to brooks@@

Approved by:	maintainer (glarkin)
@
text
@d9 1
a9 1
PORTVERSION=	0.80
@


1.8
log
@- Take maintainership
@
text
@d14 1
a14 1
MAINTAINER=	glarkin@@FreeBSD.org
@


1.7
log
@- Reset maintainer

PR:		133702
Submitted by:	Gerrit Beine <gerrit.beine@@gmx.de>
@
text
@d14 1
a14 1
MAINTAINER=	ports@@FreeBSD.org
@


1.6
log
@Upgrade to email2trac version 0.80

Add --with-trac-user and --with-mta-user to CONFIGURE_ARGS to specify
correct values to the setuid wrapper. Default to www and mailnull
respectivly to support sendmail and an apache based trac install.

Add an option to enable postfix support for the wrapper by switching the
mta user to nobody.

Actually install the setuid wrapper setuid.

Install the scripts without .py extensions as expected by the setuid
wrapper.

Install the example email2trac.conf as email2trac.conf.sample. Only copy
it to email2trac.conf if none exists and only remove email2trac.conf if
it is unchanged.

Approved by:	gerrit dot beine at gmx dot de (maintainer)
@
text
@d14 1
a14 1
MAINTAINER=	gerrit.beine@@gmx.de
@


1.5
log
@- Update to version 0.40

PR:		ports/130708
Submitted by:	Gerrit Beine <gerrit.beine@@gmx.de> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	0.40
d11 1
a11 1
MASTER_SITES=	http://www.gerritbeine.de/download/trac/
d20 4
d26 1
d31 8
d40 10
a49 4
	${INSTALL_SCRIPT} ${WRKSRC}/delete_spam.py ${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/email2trac.py ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/run_email2trac ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/email2trac.conf ${PREFIX}/etc
d51 1
a51 1
	${MKDIR} ${DOCSDIR}
d53 1
a53 1
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
d57 1
a57 1
.include <bsd.port.mk>
@


1.4
log
@- Bump PORTREVISION after arp update

PR:		125269 125274
@
text
@d9 1
a9 2
PORTVERSION=	0.10
PORTREVISION=	2
d11 1
a11 1
MASTER_SITES=	ftp://ftp.sara.nl/pub/outgoing/
a12 1
DISTNAME=	${PORTNAME}
@


1.3
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.2
log
@- Update to 0.10

PR:		115013
Submitted by:	Gerrit Beine <gerrit.beine@@gmx.de> (maintainer)
@
text
@d10 1
@


1.1
log
@This is a release of the SARA package email2trac that contains utilities that
we use to convert emails to trac tickets. The initial setup was made by Daniel
Lundin from Edgewall Software. SARA has extend the initial setup, with the
following extensions:

* HTML messages
* Attachments
* Use commandline options
* Use config file to change the behaviour of the email2trac.py program
* unicode support for special characters in the headers of an email message

WWW: https://subtrac.sara.nl/oss/email2trac

Submitted by:	Gerrit Beine <gerrit.beine at gmx.de>
@
text
@d9 1
a9 1
PORTVERSION=	0.9.5
d25 2
d32 6
@

