From owner-freebsd-ports Thu Feb 7 9:50:36 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 41DE637B41B for ; Thu, 7 Feb 2002 09:50:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g17Ho2S14903; Thu, 7 Feb 2002 09:50:02 -0800 (PST) (envelope-from gnats) Received: from sclp3.sclp.com (sclp3.sclp.com [209.196.61.66]) by hub.freebsd.org (Postfix) with SMTP id 29E5437B404 for ; Thu, 7 Feb 2002 09:47:18 -0800 (PST) Received: (qmail 17761 invoked from network); 7 Feb 2002 17:47:12 -0000 Received: from localhost (HELO nightshade.la.mastaler.com) (jason@127.0.0.1) by localhost with SMTP; 7 Feb 2002 17:47:12 -0000 Received: (qmail 18413 invoked by uid 666); 7 Feb 2002 17:47:07 -0000 Message-Id: <20020207174707.18412.qmail@nightshade.la.mastaler.com> Date: 7 Feb 2002 17:47:07 -0000 From: jason-dated-1013794902.063b7d@mastaler.com Reply-To: jason-dated-1013794902.063b7d@mastaler.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/34701: Update port: mail/tmda to latest release (0.46) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 34701 >Category: ports >Synopsis: Update port: mail/tmda to latest release (0.46) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Feb 07 09:50:02 PST 2002 >Closed-Date: >Last-Modified: >Originator: Jason R. Mastaler >Release: FreeBSD 4.5-RELEASE i386 >Organization: >Environment: System: FreeBSD nightshade.la.mastaler.com 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Feb 4 14:22:02 MST 2002 root@nightshade.la.mastaler.com:/usr/obj/usr/src/sys/NIGHTSHADE i386 >Description: Update TMDA to the latest release (0.46). * changed MASTER_SITES. * TMDA now requires Python >= 2.0 -- is there a better method than including a pkg-req to handle this dependency? >How-To-Repeat: >Fix: diff -ruN /usr/ports/mail/tmda/Makefile /root/ports/tmda/Makefile --- /usr/ports/mail/tmda/Makefile Tue Jan 8 17:49:30 2002 +++ /root/ports/tmda/Makefile Thu Feb 7 10:45:59 2002 @@ -6,10 +6,10 @@ # PORTNAME= tmda -PORTVERSION= 0.44 +PORTVERSION= 0.46 CATEGORIES= mail python -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= tmda +MASTER_SITES= http://software.libertine.org/tmda/releases/ \ + http://software.libertine.org/tmda/releases/old/ EXTRACT_SUFX= .tgz MAINTAINER= jason@mastaler.com @@ -18,6 +18,9 @@ do-build: (cd ${WRKSRC}; ${PYTHON_CMD} ./compileall) + +pre-install: + @ ${SH} ${PKGREQ} INSTALL do-install: ${MKDIR} ${PYTHON_SITELIBDIR}/TMDA diff -ruN /usr/ports/mail/tmda/distinfo /root/ports/tmda/distinfo --- /usr/ports/mail/tmda/distinfo Tue Jan 8 17:49:31 2002 +++ /root/ports/tmda/distinfo Thu Feb 7 10:06:09 2002 @@ -1 +1 @@ -MD5 (tmda-0.44.tgz) = 66c80120099b046ab1c5974748da36ed +MD5 (tmda-0.46.tgz) = abdc1c160c74a92071fa586399ba02b7 diff -ruN /usr/ports/mail/tmda/pkg-plist /root/ports/tmda/pkg-plist --- /usr/ports/mail/tmda/pkg-plist Tue Jan 8 17:49:31 2002 +++ /root/ports/tmda/pkg-plist Thu Feb 7 10:15:17 2002 @@ -55,10 +55,10 @@ %%PORTDOCS%%share/doc/tmda/htdocs/index.html %%PORTDOCS%%share/doc/tmda/htdocs/install.html %%PORTDOCS%%share/doc/tmda/htdocs/inuse.html -%%PORTDOCS%%share/doc/tmda/htdocs/lists.html %%PORTDOCS%%share/doc/tmda/htdocs/requirements.html %%PORTDOCS%%share/doc/tmda/htdocs/resources.html %%PORTDOCS%%share/doc/tmda/htdocs/results.html +%%PORTDOCS%%share/doc/tmda/htdocs/trouble.html share/tmda/confirm_accept.txt share/tmda/confirm_request.txt @dirrm share/tmda diff -ruN /usr/ports/mail/tmda/pkg-req /root/ports/tmda/pkg-req --- /usr/ports/mail/tmda/pkg-req Wed Dec 31 17:00:00 1969 +++ /root/ports/tmda/pkg-req Thu Feb 7 10:28:46 2002 @@ -0,0 +1,17 @@ +#!/bin/sh + +PATH=$PATH:/usr/local/bin + +if [ "x$1" = "xINSTALL" -o "x$2" = "xINSTALL" ]; then + PYTHON_GT=`python -c 'import string, sys; \ + print string.split(sys.version)[0] >= "2.0"'` + if [ "x${PYTHON_GT}" = "x1" ]; then + exit 0 + else + echo "-----------------------------------------------------------" + echo " TMDA requires Python version 2.0 or greater -" + echo " please update your Python installation before proceeding." + echo "-----------------------------------------------------------" + exit 1 + fi +fi >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message