summaryrefslogtreecommitdiff
path: root/mail/cucipop/scripts
diff options
context:
space:
mode:
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