aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2009-09-17 00:33:55 +0800
committerwxs <wxs@FreeBSD.org>2009-09-17 00:33:55 +0800
commit1005d6f99fcd0113d4eb80a18a5a7eecd295d34c (patch)
treee6aa13acd258855aea8b217f909aa69b9bc689fb
parent6addec3e272047c98bc465de2eab3206195812f7 (diff)
downloadfreebsd-ports-gnome-1005d6f99fcd0113d4eb80a18a5a7eecd295d34c.tar.gz
freebsd-ports-gnome-1005d6f99fcd0113d4eb80a18a5a7eecd295d34c.tar.zst
freebsd-ports-gnome-1005d6f99fcd0113d4eb80a18a5a7eecd295d34c.zip
- Fix username in prayer-cyclog
PR: ports/136892 Submitted by: Antonio Querubin <tony@lava.net> Approved by: maintainer Feature safe: yes
-rw-r--r--mail/prayer/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/mail/prayer/Makefile b/mail/prayer/Makefile
index ea47ec9637d0..24cec899f546 100644
--- a/mail/prayer/Makefile
+++ b/mail/prayer/Makefile
@@ -7,7 +7,7 @@
PORTNAME= prayer
PORTVERSION= 1.3.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail www
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/email/prayer/
@@ -45,10 +45,11 @@ pre-patch:
@${CP} ${WRKSRC}/defaults/Config ${WRKSRC}/Config
post-patch:
- # correct chroot
+# correct chroot
@${REINPLACE_CMD} "s#\"/chroot/prayer\"#config->var_prefix#" ${WRKSRC}/servers/prayer_chroot.c
- # change the user in the default config
+# change the user in the default config and cylog util
@${REINPLACE_CMD} "s#prayer_user = \"prayer\"#prayer_user = \"_prayer\"#" ${WRKSRC}/files/etc/prayer.cf.SRC
+ @${REINPLACE_CMD} "s#\"prayer\" \"prayer\"#\"_prayer\" \"prayer\"#" ${WRKSRC}/utils/prayer-cyclog.SRC
@${REINPLACE_CMD} "s#%%PREFIX%%#${PREFIX}#" ${WRKSRC}/Config
post-configure: