Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  6 Oct 2000 15:12:38 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/21800: Update port: mail/qpopper
Message-ID:  <20001006221238.3EA0937B503@hub.freebsd.org>

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

>Number:         21800
>Category:       misc
>Synopsis:       Update port: mail/qpopper
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 06 15:20:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.1.1-RELEASE i386
>Organization:
>Environment:
>Description:
- Remove version number from header
- Fix PORTVERSION
- freebsd.org -> FreeBSD.org
- Move several flags from CONFIGURE_ENV to CONFIGURE_ARGS
- Create symlink of popauth as apopauth
  (for authentication with APOP protocol)

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/mail/qpopper/Makefile mail/qpopper/Makefile
--- /usr/ports/mail/qpopper/Makefile	Fri Oct  6 22:58:31 2000
+++ mail/qpopper/Makefile	Fri Oct  6 23:24:56 2000
@@ -1,4 +1,4 @@
-# New ports collection makefile for:	qpopper 3.1.b5
+# New ports collection makefile for:	qpopper
 # Date created:				Di  18 Jul 2000 22:36:34 CEST
 # Whom:					alex
 #
@@ -6,41 +6,38 @@
 #
 
 PORTNAME=	qpopper
-PORTVERSION= 	3.1.f1
+PORTVERSION= 	3.1f1
 CATEGORIES=	mail
 MASTER_SITES=	ftp://ftp.qualcomm.com/eudora/servers/unix/popper/beta/ \
 		ftp://ftp.gmxuk.net/pub/qpopper/beta/ \
 		ftp://sunsite.doc.ic.ac.uk/Mirrors/ftp.qualcomm.com/eudora/servers/unix/popper/beta/ \
 		ftp://ftp.kracked.com/pub/qpopper/beta/
-DISTNAME=	${PORTNAME}${PORTVERSION:S/.f/fc/}
+DISTNAME=	${PORTNAME}${PORTVERSION:S/f/fc/}
 
-MAINTAINER=	ports@freebsd.org
+MAINTAINER=	ports@FreeBSD.org
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--enable-apop=${PREFIX}/etc/qpopper/pop.auth
-
-O_DEFS=         -DSETPROCTITLE -DKEEP_TEMP_DROP -DBSD44_DBM -DBIND43 \
-		-DBULLDB -DNONAUTHFILE='\"/etc/ftpusers\"'
-P_LIBS+=        -lmd -lutil
+CONFIGURE_ENV=	LIBS="-lmd -lutil"
+CONFIGURE_ARGS=	--enable-apop=${PREFIX}/etc/qpopper/pop.auth \
+		--enable-nonauth-file=/etc/ftpusers \
+		--enable-bulldb --enable-keep-temp-drop
 
 # Set FULL_POPD_DEBUG for debug-mode. See also -d option to popper
 .if defined(FULL_POPD_DEBUG)
-CONFIGURE_ARGS+=--enable-debugging
+CONFIGURE_ARGS+=	--enable-debugging
 .endif
 
-CONFIGURE_ENV=	LIBS="${P_LIBS}" O_DEFS="${O_DEFS}"
-
 MAN8=		popauth.8 qpopper.8
 
 post-patch:
-	${PERL} -pi -e 's:!!PREFIX!!:${PREFIX}$$1:g' ${WRKSRC}/man/*
+	@${PERL} -pi -e "s|!!PREFIX!!|${PREFIX}|g" ${WRKSRC}/man/*
 
 do-install:
-	cd ${WRKSRC} && \
-		${INSTALL_PROGRAM} popper/popauth ${PREFIX}/bin/ && \
-		${INSTALL_PROGRAM} popper/popper ${PREFIX}/libexec/qpopper && \
-		${INSTALL_MAN} man/popauth.8 ${PREFIX}/man/man8/ && \
-		${INSTALL_MAN} man/popper.8 ${PREFIX}/man/man8/qpopper.8
+	${INSTALL_PROGRAM} ${WRKSRC}/popper/popauth ${PREFIX}/bin/popauth
+	${LN} -sf popauth ${PREFIX}/bin/apopauth
+	${INSTALL_PROGRAM} ${WRKSRC}/popper/popper ${PREFIX}/libexec/qpopper
+	${INSTALL_MAN} ${WRKSRC}/man/popauth.8 ${MANPREFIX}/man/man8/popauth.8
+	${INSTALL_MAN} ${WRKSRC}/man/popper.8 ${MANPREFIX}/man/man8/qpopper.8
 
 post-install:
 	@${SED} -e "s:/usr/local:${PREFIX}:" ${PKGMESSAGE}
diff -urN /usr/ports/mail/qpopper/pkg/PLIST mail/qpopper/pkg/PLIST
--- /usr/ports/mail/qpopper/pkg/PLIST	Fri Oct  6 22:58:32 2000
+++ mail/qpopper/pkg/PLIST	Fri Oct  6 23:20:16 2000
@@ -1,4 +1,6 @@
 bin/popauth
+@unexec rm -f %D/bin/apopauth
+@exec ln -sf popauth %D/bin/apopauth
 libexec/qpopper
 @dirrm etc/qpopper
 @exec mkdir -p %D/etc/qpopper && chown pop.daemon %D/etc/qpopper && chmod 700 %D/etc/qpopper


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001006221238.3EA0937B503>