Bug 65520 - [PATCH] mail/maildrop added trused users
Summary: [PATCH] mail/maildrop added trused users
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sergei Kolobov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-14 09:20 UTC by Mantas Kaulakys
Modified: 2004-07-04 23:45 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mantas Kaulakys 2004-04-14 09:20:07 UTC
	added TRUSTED_USERS='...' parameter to set --enable-trusted-users='...'

Fix: 

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)--MYdGwTcLAqoOPRHbny683D5btDztxdTAk06lEEtfdBxgexFj
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

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
Comment 1 Kirill Ponomarev freebsd_committer freebsd_triage 2004-04-14 13:47:52 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sergei

Over to maintainer.
Comment 2 Sergei Kolobov freebsd_committer freebsd_triage 2004-07-04 23:45:28 UTC
State Changed
From-To: open->closed

Committed, thanks!