Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 2004 11:10:38 +0300 (EEST)
From:      Mantas Kaulakys <mantas@stotis.lt>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        sergei@FreeBSD.org
Subject:   ports/65520: [PATCH] mail/maildrop added trused users 
Message-ID:  <20040414081038.A0CE221D6DE@vasaris.stotis.lt>
Resent-Message-ID: <200404140820.i3E8K8qv044772@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         65520
>Category:       ports
>Synopsis:       [PATCH] mail/maildrop added trused users
>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:   Wed Apr 14 01:20:07 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Mantas Kaulakys <mantas@stotis.lt>
>Release:        FreeBSD 5.2.1-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD vasaris.stotis.lt 5.2.1-RELEASE-p3 FreeBSD 5.2.1-RELEASE-p3 #2: Thu Mar 25 12:37:28 EET 2004


	
>Description:
	added TRUSTED_USERS='...' parameter to set --enable-trusted-users='...'
	
>How-To-Repeat:
	
>Fix:
diff -ruN maildrop.bak/Makefile maildrop/Makefile
--- maildrop.bak/Makefile       Mon Apr 12 00:38:48 2004
+++ maildrop/Makefile   Wed Apr 14 09:37:00 2004
@@ -18,6 +18,7 @@
 #                      to use
 # WITH_LDAP=yes                Enable experimental virtual user LDAP support
 # WITH_MYSQL=yes       Enable experimental virtual user MySQL support
+# TRUSTED_USERS=<user> Specify users allowed to use the -d option

 PORTNAME=      maildrop
 PORTVERSION=   1.6.3
@@ -48,6 +49,10 @@
 CONFIGURE_ARGS+=       --with-db=gdbm
 .else
 CONFIGURE_ARGS+=       --without-db
+.endif
+
+.if defined(TRUSTED_USERS)
+CONFIGURE_ARGS+=       --enable-trusted-users="${TRUSTED_USERS}"
 .endif

 .if defined(WITH_USERDB)
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040414081038.A0CE221D6DE>