From owner-freebsd-ports Wed May 8 14:40:34 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 239CB37B408 for ; Wed, 8 May 2002 14:40:05 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g48Le5u88160; Wed, 8 May 2002 14:40:05 -0700 (PDT) (envelope-from gnats) Received: from infomath.math.nctu.edu.tw (infomath.Math.NCTU.edu.tw [140.113.22.119]) by hub.freebsd.org (Postfix) with ESMTP id C53A537B409 for ; Wed, 8 May 2002 14:35:00 -0700 (PDT) Received: from 127.0.0.1 (localhost [127.0.0.1]) by infomath.math.nctu.edu.tw (Postfix) with SMTP id 433BC3D97; Thu, 9 May 2002 05:34:22 +0800 (CST) Received: by infomath.math.nctu.edu.tw (Postfix, from userid 1000) id 462243D94; Thu, 9 May 2002 05:34:21 +0800 (CST) Message-Id: <20020508213421.462243D94@infomath.math.nctu.edu.tw> Date: Thu, 9 May 2002 05:34:21 +0800 (CST) From: Gea-Suan Lin Reply-To: Gea-Suan Lin To: FreeBSD-gnats-submit@FreeBSD.org Cc: gslin@infomath.math.nctu.edu.tw X-Send-Pr-Version: 3.113 Subject: ports/37869: Update port: mail/vm-pop3d 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: 37869 >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: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed May 08 14:40:05 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Gea-Suan Lin >Release: FreeBSD 4.5-RELEASE-p4 i386 >Organization: >Environment: System: FreeBSD InfoMath.Math.NCTU.edu.tw 4.5-RELEASE-p4 FreeBSD 4.5-RELEASE-p4 #7: Tue Apr 23 04:15:27 CST 2002 root@InfoMath.Math.NCTU.edu.tw:/home/obj/usr/src/sys/InFoMath i386 >Description: phes wanted a startup script, so I did. >How-To-Repeat: >Fix: diff -ruN /usr/ports/mail/vm-pop3d/Makefile vm-pop3d/Makefile --- /usr/ports/mail/vm-pop3d/Makefile Fri Mar 22 03:12:16 2002 +++ vm-pop3d/Makefile Thu May 9 05:31:27 2002 @@ -7,6 +7,7 @@ PORTNAME= vm-pop3d PORTVERSION= 1.1.6 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_SUNSITE} \ http://www.ibiblio.org/ @@ -37,9 +38,11 @@ post-patch: @${PERL} -pi -e "s@LIBS -ldl@LIBS@" ${WRKSRC}/configure @${PERL} -pi -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/vm-pop3d.h + @${SED} -e "s=%%PREFIX%%=${PREFIX}=g" ${FILESDIR}/vm-pop3d.sh > ${WRKSRC}/vm-pop3d.sh.sample post-install: ${INSTALL_MAN} ${WRKSRC}/vm-pop3d.8 ${MAN8PREFIX}/man/man8 + ${INSTALL_SCRIPT} ${WRKSRC}/vm-pop3d.sh.sample ${PREFIX}/etc/rc.d .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for FILE in ${DOCS} diff -ruN /usr/ports/mail/vm-pop3d/files/vm-pop3d.sh vm-pop3d/files/vm-pop3d.sh --- /usr/ports/mail/vm-pop3d/files/vm-pop3d.sh Thu Jan 1 08:00:00 1970 +++ vm-pop3d/files/vm-pop3d.sh Thu May 9 05:28:57 2002 @@ -0,0 +1,15 @@ +#!/bin/sh + +case "$1" in +start) + [ -x %%PREFIX%%/sbin/vm-pop3d ] && %%PREFIX%%/sbin/vm-pop3d -d && echo -n " vm-pop3d" + ;; +stop) + killall vm-pop3d && echo -n " vm-pop3d" + ;; +*) + echo "Usage: `basename $0` {start|stop}" >&2 + ;; +esac + +exit 0 diff -ruN /usr/ports/mail/vm-pop3d/pkg-plist vm-pop3d/pkg-plist --- /usr/ports/mail/vm-pop3d/pkg-plist Fri Aug 24 16:51:23 2001 +++ vm-pop3d/pkg-plist Thu May 9 05:31:15 2002 @@ -1,3 +1,4 @@ +etc/rc.d/vm-pop3d.sh.sample sbin/vm-pop3d %%PORTDOCS%%share/doc/vm-pop3d/AUTHORS %%PORTDOCS%%share/doc/vm-pop3d/CHANGES >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message