From owner-freebsd-ports@FreeBSD.ORG Wed Mar 10 12:21:52 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F03516A4CE for ; Wed, 10 Mar 2004 12:21:52 -0800 (PST) Received: from orion.corp.shaw.ca (orion.corp.shaw.ca [204.209.208.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7813943D2D for ; Wed, 10 Mar 2004 12:21:52 -0800 (PST) (envelope-from fredrick.leitz@sjrb.ca) Received: from conversion-daemon.orion.shaw.ca by orion.shaw.ca (Sun ONE Messaging Server 6.0 Patch 1 (built Jan 28 2004)) id <0HUD00901N1QLS00@orion.shaw.ca> for ports@FreeBSD.org; Wed, 10 Mar 2004 13:21:50 -0700 (MST) Received: from shawmailims.shaw.ca (shawmail.shaw.ca [10.0.4.20]) by orion.shaw.ca (Sun ONE Messaging Server 6.0 Patch 1 (built Jan 28 2004)) with ESMTP id <0HUD007MPN8DX030@orion.shaw.ca> for ports@FreeBSD.org; Wed, 10 Mar 2004 13:21:50 -0700 (MST) Received: by shawmail.shaw.ca with Internet Mail Service (5.5.2656.59) id ; Wed, 10 Mar 2004 13:21:49 -0700 Content-return: allowed Date: Wed, 10 Mar 2004 13:21:49 -0700 From: Fredrick Leitz To: "'ports@FreeBSD.org'" Message-id: <3AD1F04EDB516C4097168A9C08CFFEE6049F1BD0@shawmail03.shaw.ca> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-type: multipart/mixed; boundary="Boundary_(ID_h2hhB4Bm1XMTUfnTmOHhtQ)" Subject: security/pam_smb Makefile patch X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2004 20:21:52 -0000 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --Boundary_(ID_h2hhB4Bm1XMTUfnTmOHhtQ) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT There is an option for the security/pam_smb package to allow non-root processes to authenticate with SMB. This is particularly useful for use in conjunction with apache. I have made two patches against the Makefile one enables by default --disable-root-only and provides the option WITHOUT_DISABLE_ROOT to disable the behaviour. The other keeps the current defaults and provides the option WITH_DISABLE_ROOT to enable --disable-root-only. Patching the Makefile with one of those two would make my day. Cheers, Fred <> <> --Boundary_(ID_h2hhB4Bm1XMTUfnTmOHhtQ) Content-type: application/octet-stream; name=pam_smb-non-default.diff Content-transfer-encoding: QUOTED-PRINTABLE Content-disposition: attachment; filename=pam_smb-non-default.diff --- Makefile=09Wed Mar 10 12:02:52 2004=0A+++ Makefile.new=09Wed Mar = 10 12:02:37 2004=0A@@ -22,6 +22,12 @@=0A USE_REINPLACE=3D=09yes=0A ST= ARTUP_SCRIPT=3D=09pam_smbd.sh.sample=0A =0A+=0A+# Enable --disable-ro= ot-only (--disable-root-only is for use in authentication with apache= and other non-root services)=0A+.if defined(WITH_DISABLE_ROOT)=0A+CO= NFIGURE_ARGS +=3D --disable-root-only=0A+.endif=0A+=0A WRKSRC=3D=09= =09${WRKDIR}/${DISTNAME}=0A =0A post-patch:=0A= --Boundary_(ID_h2hhB4Bm1XMTUfnTmOHhtQ) Content-type: application/octet-stream; name=pam_smb.diff Content-transfer-encoding: QUOTED-PRINTABLE Content-disposition: attachment; filename=pam_smb.diff --- Makefile=09Wed Mar 10 11:53:47 2004=0A+++ Makefile.new=09Wed Mar = 10 11:53:37 2004=0A@@ -22,6 +22,12 @@=0A USE_REINPLACE=3D=09yes=0A ST= ARTUP_SCRIPT=3D=09pam_smbd.sh.sample=0A =0A+=0A+# Disable --disable-r= oot-only (--disable-root-only is for use in authentication with apach= e and other non-root services)=0A+.if !defined(WITHOUT_DISABLE_ROOT)= =0A+CONFIGURE_ARGS +=3D --disable-root-only=0A+.endif=0A+=0A WRKSRC= =3D=09=09${WRKDIR}/${DISTNAME}=0A =0A post-patch:=0A= --Boundary_(ID_h2hhB4Bm1XMTUfnTmOHhtQ)--