Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 May 2014 08:16:14 GMT
From:      Alexander Moisseev <moiseev@mezonplus.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/189542: [patch] mail/rspamd: missed directories
Message-ID:  <201405100816.s4A8GErr023873@cgiserv.freebsd.org>
Resent-Message-ID: <201405100820.s4A8K0Ld008637@freefall.freebsd.org>

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

>Number:         189542
>Category:       ports
>Synopsis:       [patch] mail/rspamd: missed directories
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 10 08:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Moisseev
>Release:        
>Organization:
>Environment:
>Description:
- Create missed rspamd directories.
- Bump port revision.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN rspamd.orig/Makefile rspamd/Makefile
--- rspamd.orig/Makefile	2014-03-24 14:52:41.000000000 +0400
+++ rspamd/Makefile	2014-04-27 12:43:16.000000000 +0400
@@ -2,6 +2,7 @@
 
 PORTNAME=	rspamd
 PORTVERSION=	0.6.9
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	http://rspamd.com/downloads/
 
@@ -67,4 +68,10 @@
  PLIST_SUB+=		REDIRECTOR="@comment "
 .endif
 
+#post-install:
+#	@cd ${STAGEDIR} && \
+#		${MKDIR} var/log/rspamd var/db/rspamd var/run/rspamd && \
+#		${CHOWN} nobody:nobody \
+#			var/log/rspamd var/db/rspamd var/run/rspamd
+
 .include <bsd.port.mk>
diff -ruN rspamd.orig/pkg-plist rspamd/pkg-plist
--- rspamd.orig/pkg-plist	2014-01-22 19:16:56.000000000 +0400
+++ rspamd/pkg-plist	2014-04-27 12:45:01.000000000 +0400
@@ -69,3 +69,9 @@
 @dirrmtry etc/rspamd
 @dirrmtry include/rspamd
 %%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
+
+@comment @cwd /
+@comment @dirrmtry var/db/rspamd
+@comment @dirrmtry var/log/rspamd
+@comment @dirrm var/run/rspamd
+@comment @cwd %%RESETPREFIX%%


>Release-Note:
>Audit-Trail:
>Unformatted:



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