From owner-freebsd-ports Mon Jan 6 7:30: 7 2003 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4845F37B401 for ; Mon, 6 Jan 2003 07:30:04 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9EC043ED1 for ; Mon, 6 Jan 2003 07:30:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h06FU2NS095531 for ; Mon, 6 Jan 2003 07:30:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h06FU2lh095530; Mon, 6 Jan 2003 07:30:02 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FDD837B401; Mon, 6 Jan 2003 07:20:41 -0800 (PST) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8191E43ED4; Mon, 6 Jan 2003 07:20:40 -0800 (PST) (envelope-from marck@woozle.rinet.ru) Received: from woozle.rinet.ru (localhost [127.0.0.1]) by woozle.rinet.ru (8.12.5/8.12.5) with ESMTP id h06FKbTI051063; Mon, 6 Jan 2003 18:20:37 +0300 (MSK) (envelope-from marck@woozle.rinet.ru) Received: (from marck@localhost) by woozle.rinet.ru (8.12.5/8.12.5/Submit) id h06FKb64051062; Mon, 6 Jan 2003 18:20:37 +0300 (MSK) Message-Id: <200301061520.h06FKb64051062@woozle.rinet.ru> Date: Mon, 6 Jan 2003 18:20:37 +0300 (MSK) From: Dmitry Morozovsky Reply-To: Dmitry Morozovsky To: FreeBSD-gnats-submit@FreeBSD.org Cc: dinoex@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/46802: mail/popa3d: use of /var/empty of contemporary FreeBSD 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: 46802 >Category: ports >Synopsis: mail/popa3d: use of /var/empty of contemporary FreeBSD >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jan 06 07:30:01 PST 2003 >Closed-Date: >Last-Modified: >Originator: Dmitry Morozovsky >Release: FreeBSD 4-STABLE i386 >Organization: Cronyx Plus LLC (RiNet ISP) >Environment: System: FreeBSD 4-STABLE >Description: mail/popa3d needs an empty directory for secure processing. As from approx 4.6-stable, FreeBSD provides secured /var/empty, which can be used for these purposes. >How-To-Repeat: cd /usr/ports/mail/popa3d make install Notice of /usr/local/empty >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/mail/popa3d/Makefile,v retrieving revision 1.14 diff -u -r1.14 Makefile --- Makefile 29 Oct 2002 20:33:47 -0000 1.14 +++ Makefile 6 Jan 2003 15:17:07 -0000 @@ -7,6 +7,7 @@ PORTNAME= popa3d PORTVERSION= 0.5.1 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.openwall.com/popa3d/ \ ftp://ftp.openwall.com/pub/projects/popa3d/ \ Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/mail/popa3d/pkg-plist,v retrieving revision 1.6 diff -u -r1.6 pkg-plist --- pkg-plist 17 Jan 2002 21:51:55 -0000 1.6 +++ pkg-plist 6 Jan 2003 15:17:07 -0000 @@ -1,6 +1,4 @@ @comment $FreeBSD: ports/mail/popa3d/pkg-plist,v 1.6 2002/01/17 21:51:55 dinoex Exp $ -@exec mkdir -p %D/empty -@dirrm empty libexec/popa3d %%PORTDOCS%%share/doc/popa3d/DESIGN %%PORTDOCS%%share/doc/popa3d/LICENSE Index: files/patch-aa =================================================================== RCS file: /home/ncvs/ports/mail/popa3d/files/patch-aa,v retrieving revision 1.3 diff -u -r1.3 patch-aa --- files/patch-aa 12 Jan 2002 13:04:41 -0000 1.3 +++ files/patch-aa 6 Jan 2003 15:13:24 -0000 @@ -1,6 +1,9 @@ ---- params.h.orig Tue Oct 16 06:10:34 2001 -+++ params.h Sat Dec 22 11:57:52 2001 -@@ -99,7 +99,7 @@ + +$FreeBSD$ + +--- params.h.orig Mon Jan 6 18:09:49 2003 ++++ params.h Mon Jan 6 18:11:03 2003 +@@ -99,13 +99,13 @@ * A pseudo-user to run as before authentication. The user and its UID * must not be used for any other purpose. */ @@ -9,6 +12,13 @@ /* * An empty directory to chroot to before authentication. The directory + * and its parent directories must not be writable by anyone but root. + */ +-#define POP_CHROOT "/usr/local/empty" ++#define POP_CHROOT "/var/empty" + + /* + * Sessions will be closed if idle for longer than POP_TIMEOUT seconds. @@ -142,8 +142,8 @@ * * Note that there's no built-in password aging support. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message