summaryrefslogtreecommitdiff
path: root/mail/teapop-devel/files
diff options
context:
space:
mode:
authorJim Mock <jim@FreeBSD.org>2000-08-13 09:39:52 +0000
committerJim Mock <jim@FreeBSD.org>2000-08-13 09:39:52 +0000
commitc0048336de07e88ef0728ecaae0b13b016951117 (patch)
treede4ea90ae2e91bff910f7ee90971660484aa93a9 /mail/teapop-devel/files
parentUpdate to version 0.13.1. (diff)
Add a patch to install teapop.passwd as teapop.passwd.sample -- this
prevents evilness which would cause teapop.passwd to be overwritten when installing a newer version of the port. Submitted by: Tobias Reifenberger <treif@mayn.de>
Diffstat (limited to 'mail/teapop-devel/files')
-rw-r--r--mail/teapop-devel/files/patch-aa21
1 files changed, 21 insertions, 0 deletions
diff --git a/mail/teapop-devel/files/patch-aa b/mail/teapop-devel/files/patch-aa
new file mode 100644
index 000000000000..efa6e7efca00
--- /dev/null
+++ b/mail/teapop-devel/files/patch-aa
@@ -0,0 +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 @@
+ 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"; \
+- ${INSTALL} -d ${sysconfdir}; \
+- ${INSTALL} teapop.passwd ${sysconfdir}; \
+- ${CHMOD} 0755 ${sysconfdir}/teapop.passwd; \
++ ${INSTALL} -m 0644 teapop.passwd ${sysconfdir}; \
+ fi
+
+ makefile: ../config/timestamp