Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 2000 20:55:20 +0300 (EEST)
From:      martti.kuparinen@piuha.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/18881: [PATCH] ports/mail/postfix update
Message-ID:  <20000529175520.BB39A7680A@ws2.piuha.net>

next in thread | raw e-mail | index | archive | help

>Number:         18881
>Category:       ports
>Synopsis:       [PATCH] ports/mail/postfix update
>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:   Mon May 29 11:00:04 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Martti Kuparinen
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
>Environment:

	

>Description:

Here's a patch to upgrade the current postfix port to the latest stable
version. This patch obsoletes ports/18529 so please close it.

Could someone take a look at this instead of passing this to the
maintainer. The maintainer might be busy as the response times for
17777 and 18529 is quite long...

>How-To-Repeat:

>Fix:
	
diff -cr /usr/ports/mail/postfix/Makefile postfix/Makefile
*** /usr/ports/mail/postfix/Makefile	Wed Apr 26 20:29:37 2000
--- postfix/Makefile	Mon May 29 20:40:26 2000
***************
*** 6,12 ****
  #
  
  PORTNAME=	postfix
! PORTVERSION= 	19991231.06
  CATEGORIES=	mail
  MASTER_SITES=	ftp://ftp.merit.edu/postfix/official/ \
  		ftp://ftp.snoopy.net/pub/mirrors/postfix/official/ \
--- 6,12 ----
  #
  
  PORTNAME=	postfix
! PORTVERSION= 	19991231.08
  CATEGORIES=	mail
  MASTER_SITES=	ftp://ftp.merit.edu/postfix/official/ \
  		ftp://ftp.snoopy.net/pub/mirrors/postfix/official/ \
***************
*** 15,24 ****
  		ftp://ftp.sunet.se/pub/unix/mail/postfix/official/ \
  		ftp://ftp.cs.tu-berlin.de/pub/net/mail/postfix/official/ \
  		ftp://ftp.postfix.oaktree.co.uk/pub/postfix/official/
! DISTNAME=	${PORTNAME}-19991231-pl06
  
  MAINTAINER=	torstenb@FreeBSD.org
  
  # WARNING: this is based on a patch submitted by a user and has not been
  # tested. Use it at your own risk !
  .if defined(WITH_MYSQL)
--- 15,30 ----
  		ftp://ftp.sunet.se/pub/unix/mail/postfix/official/ \
  		ftp://ftp.cs.tu-berlin.de/pub/net/mail/postfix/official/ \
  		ftp://ftp.postfix.oaktree.co.uk/pub/postfix/official/
! DISTNAME=	${PORTNAME}-19991231-pl08
  
  MAINTAINER=	torstenb@FreeBSD.org
  
+ .if defined(WITH_PCRE)
+ LIB_DEPENDS+=		pcre.0:${PORTSDIR}/devel/pcre
+ POSTFIX_CCARGS+=	-DHAS_PCRE -I${LOCALBASE}/include
+ POSTFIX_AUXLIBS+=	-L${LOCALBASE}/lib -lpcre
+ .endif
+ 
  # WARNING: this is based on a patch submitted by a user and has not been
  # tested. Use it at your own risk !
  .if defined(WITH_MYSQL)
***************
*** 60,67 ****
  		${PREFIX}/etc/postfix/sample-$$f ; \
  	done
  	@for f in sample-aliases.cf sample-canonical.cf sample-debug.cf \
! 		sample-ldap.cf sample-local.cf sample-misc.cf sample-pcre.cf \
! 		sample-rate.cf sample-relocated.cf sample-resource.cf \
  		sample-rewrite.cf sample-smtp.cf sample-smtpd.cf \
  		sample-transport.cf sample-virtual.cf ; do \
  		${INSTALL} -C -o root -g wheel -m 0644 ${WRKSRC}/conf/$$f \
--- 66,74 ----
  		${PREFIX}/etc/postfix/sample-$$f ; \
  	done
  	@for f in sample-aliases.cf sample-canonical.cf sample-debug.cf \
! 		sample-filter.cf sample-ldap.cf sample-local.cf \
! 		sample-misc.cf sample-pcre.cf sample-rate.cf sample-regexp.cf \
! 		sample-relocated.cf sample-resource.cf \
  		sample-rewrite.cf sample-smtp.cf sample-smtpd.cf \
  		sample-transport.cf sample-virtual.cf ; do \
  		${INSTALL} -C -o root -g wheel -m 0644 ${WRKSRC}/conf/$$f \
***************
*** 96,101 ****
--- 103,109 ----
  	done
  	@${INSTALL} -d -m 555 -o ${DOCOWN} -g ${DOCGRP} ${PDOC}
  	@cd ${WRKSRC} && ${INSTALL_DATA} \
+ 		HISTORY RELEASE_NOTES \
  		html/*.html html/*.gif ${PDOC} && \
  		${ECHO_MSG} "Installed HTML documentation in ${PDOC}"
  	@${MKDIR} -m 0755 /var/spool/postfix
diff -cr /usr/ports/mail/postfix/files/md5 postfix/files/md5
*** /usr/ports/mail/postfix/files/md5	Wed Apr  5 13:32:18 2000
--- postfix/files/md5	Mon May 29 20:22:40 2000
***************
*** 1 ****
! MD5 (postfix-19991231-pl06.tar.gz) = 7630d7466569c08f1fdf7c437cef0a14
--- 1 ----
! MD5 (postfix-19991231-pl08.tar.gz) = 0461524d91c87b03c80cc640ec953a63
diff -cr /usr/ports/mail/postfix/pkg/PLIST postfix/pkg/PLIST
*** /usr/ports/mail/postfix/pkg/PLIST	Wed Apr  5 13:32:18 2000
--- postfix/pkg/PLIST	Mon May 29 20:42:17 2000
***************
*** 4,9 ****
--- 4,10 ----
  etc/postfix/sample-aliases.cf
  etc/postfix/sample-canonical.cf
  etc/postfix/sample-debug.cf
+ etc/postfix/sample-filter.cf
  etc/postfix/sample-ldap.cf
  etc/postfix/sample-local.cf
  etc/postfix/sample-main.cf
***************
*** 11,16 ****
--- 12,18 ----
  etc/postfix/sample-misc.cf
  etc/postfix/sample-pcre.cf
  etc/postfix/sample-rate.cf
+ etc/postfix/sample-regexp.cf
  etc/postfix/sample-relocated.cf
  etc/postfix/sample-resource.cf
  etc/postfix/sample-rewrite.cf
***************
*** 43,48 ****
--- 45,52 ----
  sbin/sendmail
  sbin/smtp-sink
  sbin/smtp-source
+ share/doc/postfix/HISTORY
+ share/doc/postfix/RELEASE_NOTES
  share/doc/postfix/access.5.html
  share/doc/postfix/aliases.5.html
  share/doc/postfix/architecture.html
***************
*** 99,102 ****
--- 103,107 ----
  @exec mkdir -p -m 0755 /var/spool/postfix
  @exec chown root:wheel /var/spool/postfix
  @dirrm libexec/postfix
+ @dirrm share/doc/postfix
  @unexec rmdir %D/etc/postfix 2>/dev/null || true

>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?20000529175520.BB39A7680A>