Date: 7 Feb 2002 17:47:07 -0000 From: jason-dated-1013794902.063b7d@mastaler.com To: FreeBSD-gnats-submit@freebsd.org Subject: ports/34701: Update port: mail/tmda to latest release (0.46) Message-ID: <20020207174707.18412.qmail@nightshade.la.mastaler.com>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020207174707.18412.qmail>