summaryrefslogtreecommitdiff
path: root/mail/teapop
diff options
context:
space:
mode:
authorJim Mock <jim@FreeBSD.org>2001-03-11 01:08:47 +0000
committerJim Mock <jim@FreeBSD.org>2001-03-11 01:08:47 +0000
commit389518e808f809d5909620ee0387d98aeea7dc77 (patch)
tree85a4c449ec1d172e52ba1fe01ec31a84b6343051 /mail/teapop
parentAvoid chown'ing /usr/local/man/man* to news:news. (diff)
Don't install teapop.passwd -- only install teapop.passwd.sample, and
let the user know they need to copy it to teapop.passwd before using teapop.
Notes
Notes: svn path=/head/; revision=39500
Diffstat (limited to 'mail/teapop')
-rw-r--r--mail/teapop/Makefile8
-rw-r--r--mail/teapop/files/patch-aa26
2 files changed, 21 insertions, 13 deletions
diff --git a/mail/teapop/Makefile b/mail/teapop/Makefile
index 07032a4a4b57..4354e4bdd42c 100644
--- a/mail/teapop/Makefile
+++ b/mail/teapop/Makefile
@@ -51,4 +51,12 @@ CONFIGURE_ARGS+= --with-drac=${PREFIX}/lib \
MAN8= teapop.8
+post-install:
+ @${ECHO} " "
+ @${ECHO} "------------------------------------------------------------------------"
+ @${ECHO} "===> Be sure to copy ${LOCALBASE}/etc/teapop.passwd.sample to"
+ @${ECHO} "===> ${LOCALBASE}/etc/teapop.passwd before using teapop"
+ @${ECHO} "------------------------------------------------------------------------"
+ @${ECHO} " "
+
.include <bsd.port.mk>
diff --git a/mail/teapop/files/patch-aa b/mail/teapop/files/patch-aa
index efa6e7efca00..2a5ad536ebda 100644
--- a/mail/teapop/files/patch-aa
+++ b/mail/teapop/files/patch-aa
@@ -1,21 +1,21 @@
---- etc/Makefile.in.orig Sat Aug 12 16:28:44 2000
-+++ etc/Makefile.in Sat Aug 12 17:15:14 2000
-@@ -23,14 +23,15 @@
+--- etc/Makefile.in.orig Sat Mar 10 19:51:58 2001
++++ etc/Makefile.in Sat Mar 10 19:55:01 2001
+@@ -23,15 +23,9 @@
fi
install: build
-+ @echo installing teapop.passwd.sample; \
-+ ${INSTALL} -d ${sysconfdir}; \
-+ ${INSTALL} -m 0644 teapop.passwd ${sysconfdir}/teapop.passwd.sample;
- @echo Checking for existing teapop.passwd; \
- if [ -f ${sysconfdir}/teapop.passwd ]; then \
- echo "Exists...NOT installing teapop.passwd"; \
- else \
- echo "Not found, installing teapop.passwd"; \
+- @echo Checking for existing teapop.passwd; \
+- if [ -f ${sysconfdir}/teapop.passwd ]; then \
+- echo "Exists...NOT installing teapop.passwd"; \
+- else \
+- echo "Not found, installing teapop.passwd"; \
- ${INSTALL} -d ${sysconfdir}; \
- ${INSTALL} teapop.passwd ${sysconfdir}; \
- ${CHMOD} 0755 ${sysconfdir}/teapop.passwd; \
-+ ${INSTALL} -m 0644 teapop.passwd ${sysconfdir}; \
- fi
+- fi
++ @echo Installing teapop.passwd.sample; \
++ ${INSTALL} -d ${sysconfdir}
++ ${INSTALL} -m 0644 teapop.passwd ${sysconfdir}/teapop.passwd.sample;
makefile: ../config/timestamp
+ @echo Updating Makefile