From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jan 12 00:30:03 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9AF8D106568B for ; Tue, 12 Jan 2010 00:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5C2608FC1A for ; Tue, 12 Jan 2010 00:30:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0C0U3ic030753 for ; Tue, 12 Jan 2010 00:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0C0U3dw030748; Tue, 12 Jan 2010 00:30:03 GMT (envelope-from gnats) Resent-Date: Tue, 12 Jan 2010 00:30:03 GMT Resent-Message-Id: <201001120030.o0C0U3dw030748@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sevan Janiyan Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23C5E1065670 for ; Tue, 12 Jan 2010 00:20:34 +0000 (UTC) (envelope-from sevan@newbie.thingamajig-systems.co.uk) Received: from newbie.thingamajig-systems.co.uk (newbie.thingamajig-systems.co.uk [93.97.185.103]) by mx1.freebsd.org (Postfix) with ESMTP id 5E29F8FC0A for ; Tue, 12 Jan 2010 00:20:33 +0000 (UTC) Received: from newbie.thingamajig-systems.co.uk (localhost [127.0.0.1]) by newbie.thingamajig-systems.co.uk (8.14.3/8.14.3) with ESMTP id o0C0GiPm011950; Tue, 12 Jan 2010 00:16:44 GMT (envelope-from sevan@newbie.thingamajig-systems.co.uk) Received: (from root@localhost) by newbie.thingamajig-systems.co.uk (8.14.3/8.14.3/Submit) id o0C0GiE4011949; Tue, 12 Jan 2010 00:16:44 GMT (envelope-from sevan) Message-Id: <201001120016.o0C0GiE4011949@newbie.thingamajig-systems.co.uk> Date: Tue, 12 Jan 2010 00:16:44 GMT From: Sevan Janiyan To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: anders@FreeBSD.org Subject: ports/142733: [PATCH] mail/imap-uw: various changes to Makefile X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2010 00:30:03 -0000 >Number: 142733 >Category: ports >Synopsis: [PATCH] mail/imap-uw: various changes to Makefile >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jan 12 00:30:02 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Sevan Janiyan >Release: FreeBSD 8.0-RELEASE-p2 amd64 >Organization: >Environment: System: FreeBSD newbie.thingamajig-systems.co.uk 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 21:11:58 UTC >Description: use $SUB_FILES to adjust PREFIX in pkg-message instead of hardcoding /usr/local use bsd.port.options.mk remove unneeded variables DISTNAME,DISTFILES & WRKSRC declare LIB_DEPENDS earlier Added file(s): - files/pkg-message.in Removed file(s): - pkg-message Port maintainer (anders@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- imap-uw-2007e,1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/mail/imap-uw/Makefile,v retrieving revision 1.87 diff -u -r1.87 Makefile --- Makefile 21 May 2009 15:21:35 -0000 1.87 +++ Makefile 12 Jan 2010 00:12:00 -0000 @@ -15,12 +15,20 @@ ftp://ftp.funet.fi/pub/mirrors/ftp.cac.washington.edu/mail/%SUBDIR%/ MASTER_SITE_SUBDIR= . old PKGNAMESUFFIX= -uw -DISTNAME= imap-${PORTVERSION} -DISTFILES= ${DISTNAME}${DISTVERSIONSUFFIX}${EXTRACT_SUFX} MAINTAINER= anders@FreeBSD.org COMMENT= University of Washington IMAP4rev1/POP2/POP3 mail servers +LIB_DEPENDS= c-client4.9:${PORTSDIR}/mail/cclient + +DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} +SUB_FILES= pkg-message + +MAN1= dmail.1 mailutil.1 tmail.1 +MAN8= ipopd.8 imapd.8 + +ALL_TARGET= bsf + # This port must have the same SSL settings as mail/cclient, which it depends on # To make MBX format the default mailbox format, change the settings of cclient @@ -29,21 +37,13 @@ DRAC "Dynamically open MTA for relaying" off \ NETSCAPE_BRAIN_DAMAGE "See Makefile for documentation" off -.include +.include -LIB_DEPENDS= c-client4.9:${PORTSDIR}/mail/cclient .if defined(WITH_DRAC) BUILD_DEPENDS= ${LOCALBASE}/lib/libdrac.a:${PORTSDIR}/mail/drac MAKE_ARGS+= WITH_DRAC=yes .endif -DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} -WRKSRC= ${WRKDIR}/${DISTNAME} - -MAN1= dmail.1 mailutil.1 tmail.1 -MAN8= ipopd.8 imapd.8 - -ALL_TARGET= bsf .if defined(WITHOUT_SSL) MAKE_ARGS+= SSLTYPE=none SSLDIR=${OPENSSLBASE} .else @@ -61,6 +61,7 @@ .endif # See src/imapd/Makefile for more information about these three options. +.include pre-build: @${SH} ${PKGREQ}.rev ${LOCALBASE}/include/c-client/portrevision.h ${PORTVERSION} .if !defined(WITHOUT_SSL) Index: pkg-message =================================================================== RCS file: pkg-message diff -N pkg-message --- pkg-message 1 Jun 2003 20:49:37 -0000 1.8 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,28 +0,0 @@ -The ipop2d, ipop3d, and imapd daemons should be invoked by your -/etc/inetd.conf file with lines such as: - -pop2 stream tcp nowait root /usr/local/libexec/ipop2d ipop2d -pop3 stream tcp nowait root /usr/local/libexec/ipop3d ipop3d -imap4 stream tcp nowait root /usr/local/libexec/imapd imapd - -If PAM authentication support has been compiled in you will need to add -something like the following lines to /etc/pam.conf (PAM authentication is -default): - -imap auth required pam_unix.so -imap account required pam_unix.so -imap session required pam_unix.so -pop3 auth required pam_unix.so -pop3 account required pam_unix.so -pop3 session required pam_unix.so - -The pam_unix module does not have session support, so we do not use it for -session management. Be sure to read up on pam.conf(5). - -===> NB: IMAP-UW now rejects non-encrypted logins by default. To change this -===> behaviour, recompile and reinstall cclient and imap-uw ports with one of -===> the following make variables defined: - -WITHOUT_SSL - build without SSL/encryption support. -WITH_SSL_AND_PLAINTEXT - build with SSL/encryption support, but allow -non-encrypted logins. Index: files/pkg-message.in =================================================================== RCS file: files/pkg-message.in diff -N files/pkg-message.in --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/pkg-message.in 12 Jan 2010 00:12:00 -0000 @@ -0,0 +1,28 @@ +The ipop2d, ipop3d, and imapd daemons should be invoked by your +/etc/inetd.conf file with lines such as: + +pop2 stream tcp nowait root %%PREFIX%%/libexec/ipop2d ipop2d +pop3 stream tcp nowait root %%PREFIX%%/libexec/ipop3d ipop3d +imap4 stream tcp nowait root %%PREFIX%%/libexec/imapd imapd + +If PAM authentication support has been compiled in you will need to add +something like the following lines to /etc/pam.conf (PAM authentication is +default): + +imap auth required pam_unix.so +imap account required pam_unix.so +imap session required pam_unix.so +pop3 auth required pam_unix.so +pop3 account required pam_unix.so +pop3 session required pam_unix.so + +The pam_unix module does not have session support, so we do not use it for +session management. Be sure to read up on pam.conf(5). + +===> NB: IMAP-UW now rejects non-encrypted logins by default. To change this +===> behaviour, recompile and reinstall cclient and imap-uw ports with one of +===> the following make variables defined: + +WITHOUT_SSL - build without SSL/encryption support. +WITH_SSL_AND_PLAINTEXT - build with SSL/encryption support, but allow +non-encrypted logins. --- imap-uw-2007e,1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: