aboutsummaryrefslogtreecommitdiffstats
path: root/mail/teapop
diff options
context:
space:
mode:
authorjim <jim@FreeBSD.org>2001-03-11 09:08:47 +0800
committerjim <jim@FreeBSD.org>2001-03-11 09:08:47 +0800
commit9809d8abb1f5645444371d549b519170c96e4a65 (patch)
treecceb1660dcd81925c772a0ace2f8b0bc3dbadc86 /mail/teapop
parent721908a34124c02437be72361234010d635e32bb (diff)
downloadfreebsd-ports-gnome-9809d8abb1f5645444371d549b519170c96e4a65.tar.gz
freebsd-ports-gnome-9809d8abb1f5645444371d549b519170c96e4a65.tar.zst
freebsd-ports-gnome-9809d8abb1f5645444371d549b519170c96e4a65.zip
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.
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