Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11]) by www.NetBSD.org (Postfix) with ESMTP id D76DC63B8B6 for ; Wed, 14 Oct 2009 21:13:44 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 0) id 88DB663B138; Wed, 14 Oct 2009 21:13:44 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 0E66B63B1A5 for ; Wed, 14 Oct 2009 21:13:42 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id C11DC175DA; Wed, 14 Oct 2009 21:13:41 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: binary Content-Type: text/plain Date: Wed, 14 Oct 2009 21:13:41 +0000 From: Iain Hibbert Subject: CVS commit: pkgsrc/mail/nullmailer To: pkgsrc-changes@NetBSD.org Reply-To: plunky@netbsd.org X-Mailer: log_accum Message-Id: <20091014211341.C11DC175DA@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: list Module Name: pkgsrc Committed By: plunky Date: Wed Oct 14 21:13:41 UTC 2009 Modified Files: pkgsrc/mail/nullmailer: Makefile PLIST pkgsrc/mail/nullmailer/files: nullmailer.sh Added Files: pkgsrc/mail/nullmailer/files: nullmailer-daemon Log Message: fix the DESTDIR support by removing the install-root target which would otherwise cause a chown of the trigger file. (with DESTDIR, the "nullmail" user & group are not yet created) Because this leaves the trigger file possibly owned by root, add a test in the rc "start" path to [re]make it when necessary. put this test and the daemon background and logging into a separate script so that it can be run by the rc framework as the nullmail user in the normal way, and add a procname argument to allow the "status" and "stop" rc commands to work properly. bump PKGREVISION To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 pkgsrc/mail/nullmailer/Makefile cvs rdiff -u -r1.9 -r1.10 pkgsrc/mail/nullmailer/PLIST cvs rdiff -u -r0 -r1.1 pkgsrc/mail/nullmailer/files/nullmailer-daemon cvs rdiff -u -r1.3 -r1.4 pkgsrc/mail/nullmailer/files/nullmailer.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.