Subject: Re: pkg/34765: Update mail/mailfront-1.01
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <isihara@leaf.sf21npo.gr.jp>
List: pkgsrc-bugs
Date: 10/09/2006 15:40:02
The following reply was made to PR pkg/34765; it has been noted by GNATS.

From: isihara@leaf.sf21npo.gr.jp
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/34765: Update mail/mailfront-1.01
Date: 10 Oct 2006 00:36:15 +0900

 I mistake send-pr halfway new mailfront package.
 I am sorry.
 
 
 diff -uNr mailfront/Makefile mailfront.new/Makefile
 --- mailfront/Makefile	2006-08-03 00:12:18.000000000 +0900
 +++ mailfront.new/Makefile	2006-10-09 19:05:39.000000000 +0900
 @@ -1,8 +1,7 @@
  # $NetBSD: Makefile,v 1.8 2006/08/02 02:42:22 schmonz Exp $
  #
  
 -DISTNAME=		mailfront-0.98.1
 -PKGREVISION=		1
 +DISTNAME=		mailfront-1.01
  CATEGORIES=		mail
  MASTER_SITES=		${HOMEPAGE}
  
 @@ -10,7 +9,7 @@
  HOMEPAGE=		http://untroubled.org/mailfront/
  COMMENT=		Mail server network protocol front-ends
  
 -DEPENDS+=		cvm-[0-9]*:../../security/cvm
 +DEPENDS+=		cvm>=0.81:../../security/cvm
  DEPENDS+=		daemontools-[0-9]*:../../sysutils/daemontools
  DEPENDS_QMAIL=		qmail>=1.03nb8:../../mail/qmail
  DEPENDS+=		${DEPENDS_QMAIL}
 @@ -35,6 +34,19 @@
  .  endif
  .endif
  
 +post-configure:
 +	${ECHO} ${LOCALBASE}/lib/mailfront > ${WRKSRC}/conf-modules
 +
 +post-install:
 +	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mailfront
 +	${FIND} ${WRKSRC} -name '*.html' -print |	\
 +	while read f; do				\
 +		${INSTALL_DATA} $$f ${PREFIX}/share/doc/mailfront;	\
 +	done
 +	for f in ANNOUNCEMENT NEWS README; do		\
 +		${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/doc/mailfront;	\
 +	done
 +
  .include "../../devel/bglibs/buildlink3.mk"
  .include "../../security/cvm/buildlink3.mk"
  .include "../../mk/djbware.mk"
 diff -uNr mailfront/PLIST mailfront.new/PLIST
 --- mailfront/PLIST	2005-07-20 12:30:19.000000000 +0900
 +++ mailfront.new/PLIST	2006-10-09 19:09:35.000000000 +0900
 @@ -1,5 +1,6 @@
 -@comment $NetBSD: PLIST,v 1.1.1.1 2005/07/20 03:30:19 schmonz Exp $
 +@comment $NetBSD$
  bin/imapfront-auth
 +bin/mailfront
  bin/pop3front-auth
  bin/pop3front-maildir
  bin/qmqpfront-echo
 @@ -8,5 +9,50 @@
  bin/qmtpfront-qmail
  bin/smtpfront-echo
  bin/smtpfront-qmail
 -bin/smtpfront-reject
 +lib/mailfront/backend-echo.so
 +lib/mailfront/backend-qmail.so
 +lib/mailfront/plugin-add-received.so
 +lib/mailfront/plugin-check-fqdn.so
 +lib/mailfront/plugin-counters.so
 +lib/mailfront/plugin-cvm-validate.so
 +lib/mailfront/plugin-mailrules.so
 +lib/mailfront/plugin-patterns.so
 +lib/mailfront/plugin-qmail-validate.so
 +lib/mailfront/plugin-reject.so
 +lib/mailfront/plugin-relayclient.so
 +lib/mailfront/plugin-require-auth.so
 +lib/mailfront/protocol-qmqp.so
 +lib/mailfront/protocol-qmtp.so
 +lib/mailfront/protocol-smtp.so
 +share/doc/mailfront/ANNOUNCEMENT
 +share/doc/mailfront/NEWS
 +share/doc/mailfront/README
 +share/doc/mailfront/backend-echo.html
 +share/doc/mailfront/backend-qmail.html
 +share/doc/mailfront/imapfront.html
 +share/doc/mailfront/mailfront.html
 +share/doc/mailfront/mailrules.html
 +share/doc/mailfront/mailrulesx.html
 +share/doc/mailfront/msa.html
 +share/doc/mailfront/plugin-accept-recipient.html
 +share/doc/mailfront/plugin-accept-sender.html
 +share/doc/mailfront/plugin-accept.html
 +share/doc/mailfront/plugin-add-received.html
 +share/doc/mailfront/plugin-check-fqdn.html
 +share/doc/mailfront/plugin-counters.html
 +share/doc/mailfront/plugin-cvm-validate.html
 +share/doc/mailfront/plugin-mailrules.html
 +share/doc/mailfront/plugin-patterns.html
 +share/doc/mailfront/plugin-qmail-validate.html
 +share/doc/mailfront/plugin-reject.html
 +share/doc/mailfront/plugin-relayclient.html
 +share/doc/mailfront/plugin-require-auth.html
 +share/doc/mailfront/plugin.html
 +share/doc/mailfront/pop3front.html
 +share/doc/mailfront/protocol-qmqp.html
 +share/doc/mailfront/protocol-qmtp.html
 +share/doc/mailfront/protocol-smtp.html
 +share/doc/mailfront/std-handle.html
  share/examples/rc.d/smtpfront
 +@dirrm share/doc/mailfront
 +@dirrm lib/mailfront
 diff -uNr mailfront/distinfo mailfront.new/distinfo
 --- mailfront/distinfo	2006-08-03 00:12:18.000000000 +0900
 +++ mailfront.new/distinfo	2006-10-09 05:43:42.000000000 +0900
 @@ -1,6 +1,5 @@
  $NetBSD: distinfo,v 1.5 2006/08/02 02:42:22 schmonz Exp $
  
 -SHA1 (mailfront-0.98.1.tar.gz) = 1d3e0e7ca4091226c9d154bfe4a08e879debae29
 -RMD160 (mailfront-0.98.1.tar.gz) = 2cad77abb898c29db0768cbb2514d2a0e4905f68
 -Size (mailfront-0.98.1.tar.gz) = 77812 bytes
 -SHA1 (patch-aa) = 6b9b6c7d546cbadffc8dfee557ff2384ba8b1a45
 +SHA1 (mailfront-1.01.tar.gz) = a5cc07a9b3ec634fe23578f71974e4f32f782003
 +RMD160 (mailfront-1.01.tar.gz) = bb1e5544b9d733214e33f04cb3a8130c85ed08d0
 +Size (mailfront-1.01.tar.gz) = 90699 bytes
 diff -uNr mailfront/patches/patch-aa mailfront.new/patches/patch-aa
 --- mailfront/patches/patch-aa	2006-08-02 11:42:22.000000000 +0900
 +++ mailfront.new/patches/patch-aa	1970-01-01 09:00:00.000000000 +0900
 @@ -1,13 +0,0 @@
 -$NetBSD: patch-aa,v 1.1 2006/08/02 02:42:22 schmonz Exp $
 -
 ---- Makefile.orig	2006-07-18 17:52:22.000000000 -0400
 -+++ Makefile
 -@@ -59,7 +59,7 @@ load: conf-ld conf-bglibs
 - 	( bglibs=`head -n 1 conf-bglibs`; \
 - 	  echo '#!/bin/sh';\
 - 	  echo 'main="$$1"; shift';\
 --	  echo exec `head -n 1 conf-ld` -L. "-L'$${bglibs}'" '-o "$$main" "$$main.o" $${1+"$$@"}' -lbg-sysdeps; \
 -+	  echo exec `head -n 1 conf-ld` -L. "-L'$${bglibs}'" "-Wl,-R'$${bglibs}'" '-o "$$main" "$$main.o" $${1+"$$@"}' -lbg-sysdeps; \
 - 	) >load
 - 	chmod 755 load
 -