Bug 99914 - [PATCH] mail/vpopmail: Create ${QMAIL_PREFIX}/control/locals automatically
Summary: [PATCH] mail/vpopmail: Create ${QMAIL_PREFIX}/control/locals automatically
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: Peter Pentchev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-08 16:20 UTC by Renato Botelho
Modified: 2013-03-16 15:10 UTC (History)
1 user (show)

See Also:


Attachments
vpopmail-5.4.13.patch (1.31 KB, patch)
2006-07-08 16:20 UTC, Renato Botelho
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Renato Botelho freebsd_committer freebsd_triage 2006-07-08 16:20:14 UTC
Vpopmail doesn't work if /var/qmail/control/locals doesn't exist, so, create it
automatically on installation time.

Since i'm here, silent a bit portlint.

Port maintainer (roam@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-07-08 16:20:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->roam

Over to maintainer
Comment 2 Peter Pentchev freebsd_committer freebsd_triage 2006-07-14 13:18:27 UTC
State Changed
From-To: open->closed

Fix committed, thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-03-16 15:03:37 UTC
Author: bdrewery
Date: Sat Mar 16 15:03:24 2013
New Revision: 314360
URL: http://svnweb.freebsd.org/changeset/ports/314360

Log:
  - Fix leftover /var/qmail/control/locals
  
    qmail-send.c:getcontrols() refuses to startup or to process
    the virtualdomains file if locals is missing. However,
    vpopmail's vadddomain is already creating the locals file
    when adding new domains. So creating it when installing is
    not needed.
  
    At the time that this change was added to the port, in
    vpopmail-5.4.13, vadddomain did not automatically create
    the locals file. The current version does in
    vpopmail.c:remove_line()
  
    This reverts the change done in r167787 for ports/99914
  
  PR:		ports/99914 (reverts)

Modified:
  head/mail/vpopmail/Makefile

Modified: head/mail/vpopmail/Makefile
==============================================================================
--- head/mail/vpopmail/Makefile	Sat Mar 16 14:58:33 2013	(r314359)
+++ head/mail/vpopmail/Makefile	Sat Mar 16 15:03:24 2013	(r314360)
@@ -511,7 +511,6 @@ post-install:
 .if ${PORT_OPTIONS:MSUID_VCHKPW}
 	${CHMOD} ug+s ${VPOPMAIL_DIR}/bin/vchkpw
 .endif
-	@${TOUCH} ${QMAIL_PREFIX}/control/locals
 .if ${PORT_OPTIONS:MDOCS}
 	${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/doc/,} ${VPOPMAIL_DIR}/doc/
 .endif
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"