Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2001 20:32:14 +0800 (CST)
From:      Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/30025: Update port mail/vm-pop3d
Message-ID:  <20010824123214.4EC1F3D98@infomath.math.nctu.edu.tw>

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

>Number:         30025
>Category:       ports
>Synopsis:       Update port mail/vm-pop3d
>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:   Fri Aug 24 05:40:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 4.4-RC i386
>Organization:
>Environment:
System: FreeBSD InfoMath.Math.NCTU.edu.tw 4.4-RC FreeBSD 4.4-RC #1: Thu Aug 23 14:35:48 CST 2001 root@InfoMath.Math.NCTU.edu.tw:/home/obj/usr/src/sys/InFoMath i386



>Description:

	* change the maintainer's e-mail address.
	* support ip-base virtual with -DWITH_IPVIRTUAL.
	* add web url to pkg-descr.

>How-To-Repeat:
	
>Fix:

diff -ruN /usr/ports/mail/vm-pop3d/Makefile vm-pop3d/Makefile
--- /usr/ports/mail/vm-pop3d/Makefile	Fri Aug 24 16:51:23 2001
+++ vm-pop3d/Makefile	Fri Aug 24 20:24:39 2001
@@ -1,26 +1,44 @@
 # New ports collection makefile for:	gslin
 # Date created:			24 August 2001
-# Whom:				Gea-Suan Lin (gslin.am88@nctu.edu.tw)
+# Whom:				Gea-Suan Lin (gslin@ccca.nctu.edu.tw)
 #
 # $FreeBSD: ports/mail/vm-pop3d/Makefile,v 1.1 2001/08/24 08:51:23 ijliao Exp $
 #
 
 PORTNAME=	vm-pop3d
 PORTVERSION=	1.1.4
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	${MASTER_SITE_SUNSITE}
 MASTER_SITE_SUBDIR=	system/mail/pop
 
-MAINTAINER=	gslin.am88@nctu.edu.tw
+MAINTAINER=	gslin@ccca.nctu.edu.tw
 
 GNU_CONFIGURE=	yes
+
+.if defined(WITH_IPVIRTUAL)
+CONFIGURE_ARGS+=	--enable-ip-based-virtual
+.endif
+
 MAN8=		vm-pop3d.8
 
+DOCS=		AUTHORS CHANGES COPYING FAQ INSTALL README
+
+pre-fetch:
+	@${ECHO} ""
+	@${ECHO} "You may use the following build options:"
+	@${ECHO} ""
+	@${ECHO} "	WITH_IPVIRTUAL	enable IP-based virtual passwd files and spool directories."
+	@${ECHO} ""
+
 post-install:
 	${INSTALL_MAN} ${WRKSRC}/vm-pop3d.8 ${MAN8PREFIX}/man/man8
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/AUTHORS ${WRKSRC}/CHANGES ${WRKSRC}/COPYING ${WRKSRC}/FAQ ${WRKSRC}/INSTALL ${WRKSRC}/README ${DOCSDIR}
+.for FILE in ${DOCS}
+	${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+.endfor
+	@${ECHO} "Documentation installed in ${DOCSDIR}."
 .endif
 
 .include <bsd.port.mk>
diff -ruN /usr/ports/mail/vm-pop3d/files/patch-vm-pop3d.h vm-pop3d/files/patch-vm-pop3d.h
--- /usr/ports/mail/vm-pop3d/files/patch-vm-pop3d.h	Thu Jan  1 08:00:00 1970
+++ vm-pop3d/files/patch-vm-pop3d.h	Fri Aug 24 19:38:59 2001
@@ -0,0 +1,29 @@
+--- vm-pop3d.h.orig	Fri Aug 24 19:28:57 2001
++++ vm-pop3d.h	Fri Aug 24 19:29:59 2001
+@@ -63,7 +63,7 @@
+ 
+ /* APOP password file, without .db or .passwd, which are added based on file
+    type automatically */
+-#define APOP_PASSFILE	"/etc/apop"
++#define APOP_PASSFILE	"/usr/local/etc/apop"
+ 
+ /* Size of the MD5 digest for APOP */
+ #define APOP_DIGEST	70
+@@ -77,7 +77,7 @@
+    The mailboxes for virtual domains do not have corresponding Unix
+    accounts; they do not have unique UIDs; so they could be owned
+    by one VIRTUAL_UID. */
+-#define VIRTUAL_UID	8
++#define VIRTUAL_UID	65534
+ 
+ /* VIRTUAL_MAILDIR is the path to the sub-directories containing
+    the mailboxes for each virtual domain (or realm). It has a host,
+@@ -92,7 +92,7 @@
+    the sub-directories containing the password files for each virtual
+    domain. By default, this is /etc/virtual.) */
+ 
+-#define VIRTUAL_PASSWORDS_PATH  "/etc/virtual"
++#define VIRTUAL_PASSWORDS_PATH  "/usr/local/etc/virtual"
+ 
+ /* VIRTUAL_PASSWORD_FNAME is the file name (or suffix) for the virtual
+    domain's password file. (By default, this is "passwd". It could be set
diff -ruN /usr/ports/mail/vm-pop3d/pkg-descr vm-pop3d/pkg-descr
--- /usr/ports/mail/vm-pop3d/pkg-descr	Fri Aug 24 16:51:23 2001
+++ vm-pop3d/pkg-descr	Fri Aug 24 20:14:16 2001
@@ -4,5 +4,7 @@
 each. This will allow you to have multiple email accounts with the same name
 on one system. 
 
+WWW: http://www.reedmedia.net/software/virtualmail-pop3d/
+
 - Gea-Suan Lin
   gslin@ccca.nctu.edu.tw

>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?20010824123214.4EC1F3D98>