summaryrefslogtreecommitdiff
path: root/mail/cucipop/scripts
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1999-03-29 02:01:38 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1999-03-29 02:01:38 +0000
commitb2fa6925a0f1985e57b91738b1227990eef0d220 (patch)
tree970e1f63cc38ac51edbcae46b003dfcd3ecb0f2e /mail/cucipop/scripts
parentUpgrade to v1.5.8p2 (diff)
turn on virtual hosts support
Diffstat (limited to 'mail/cucipop/scripts')
-rw-r--r--mail/cucipop/scripts/configure3
-rw-r--r--mail/cucipop/scripts/pre-install8
2 files changed, 11 insertions, 0 deletions
diff --git a/mail/cucipop/scripts/configure b/mail/cucipop/scripts/configure
index a16b87d22fd7..1251b76f659e 100644
--- a/mail/cucipop/scripts/configure
+++ b/mail/cucipop/scripts/configure
@@ -2,3 +2,6 @@
mv ${WRKSRC}/cucipop.8 ${WRKSRC}/cucipop.8.bak
sed <${WRKSRC}/cucipop.8.bak >${WRKSRC}/cucipop.8 s+!!PREFIX!!+$PREFIX+g
+
+mv ${WRKSRC}/makevpopdb.8 ${WRKSRC}/makevpopdb.8.bak
+sed <${WRKSRC}/makevpopdb.8.bak >${WRKSRC}/makevpopdb.8 s+!!PREFIX!!+$PREFIX+g
diff --git a/mail/cucipop/scripts/pre-install b/mail/cucipop/scripts/pre-install
new file mode 100644
index 000000000000..80e19cb195de
--- /dev/null
+++ b/mail/cucipop/scripts/pre-install
@@ -0,0 +1,8 @@
+#!/bin/sh
+if ! id -u vpop > /dev/null 2>&1; then
+ echo
+ echo "Fake account \"vpop\" needed for virtual hosts support (as mboxes owner)."
+ echo "Please add it by hand in case you need them (try \"man vipw\")."
+ echo
+fi
+exit 0