From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Oct 17 10:40:09 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 13FF91065672 for ; Sun, 17 Oct 2010 10:40:09 +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 BC1078FC0C for ; Sun, 17 Oct 2010 10:40:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o9HAe82o075469 for ; Sun, 17 Oct 2010 10:40:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o9HAe8Ot075468; Sun, 17 Oct 2010 10:40:08 GMT (envelope-from gnats) Resent-Date: Sun, 17 Oct 2010 10:40:08 GMT Resent-Message-Id: <201010171040.o9HAe8Ot075468@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, Alexander Milanov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAF3A106564A for ; Sun, 17 Oct 2010 10:39:13 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 98DBB8FC13 for ; Sun, 17 Oct 2010 10:39:13 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o9HAdBXS096406 for ; Sun, 17 Oct 2010 10:39:11 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o9HAdBvZ096401; Sun, 17 Oct 2010 10:39:11 GMT (envelope-from nobody) Message-Id: <201010171039.o9HAdBvZ096401@www.freebsd.org> Date: Sun, 17 Oct 2010 10:39:11 GMT From: Alexander Milanov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/151515: Wrong chmod for fetchmailrc in port mail/fetchmail 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: Sun, 17 Oct 2010 10:40:09 -0000 >Number: 151515 >Category: ports >Synopsis: Wrong chmod for fetchmailrc in port mail/fetchmail >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: Sun Oct 17 10:40:08 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Alexander Milanov >Release: 8.1-RELEASE >Organization: >Environment: FreeBSD test.example.com 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Fetchmail installed from the ports and started as is complains about the file mod of fetchmailrc ("File /usr/local/etc/fetchmailrc must have no more than -rwx------ (0700) permissions.") and exits. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: mail/fetchmail/Makefile =================================================================== RCS file: /home/ncvs/ports/mail/fetchmail/Makefile,v retrieving revision 1.210 diff -u -r1.210 Makefile --- mail/fetchmail/Makefile 31 May 2010 01:59:40 -0000 1.210 +++ mail/fetchmail/Makefile 23 Aug 2010 14:59:10 -0000 @@ -126,7 +126,7 @@ ${INSTALL} -m 644 -o fetchmail -g fetchmail ${FILESDIR}/fetchmailrc.sample ${PREFIX}/etc/fetchmailrc.sample if [ ! -f ${PREFIX}/etc/fetchmailrc ]; then \ ${CP} -p ${PREFIX}/etc/fetchmailrc.sample ${PREFIX}/etc/fetchmailrc ; \ - ${CHMOD} 640 ${PREFIX}/etc/fetchmailrc ; \ + ${CHMOD} 600 ${PREFIX}/etc/fetchmailrc ; \ fi @${ECHO_CMD} "" >Release-Note: >Audit-Trail: >Unformatted: