diff options
author | Jim Mock <jim@FreeBSD.org> | 2000-08-13 09:39:52 +0000 |
---|---|---|
committer | Jim Mock <jim@FreeBSD.org> | 2000-08-13 09:39:52 +0000 |
commit | c0048336de07e88ef0728ecaae0b13b016951117 (patch) | |
tree | de4ea90ae2e91bff910f7ee90971660484aa93a9 /mail/teapop-devel | |
parent | Update 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>
Notes
Notes:
svn path=/head/; revision=31602
Diffstat (limited to 'mail/teapop-devel')
-rw-r--r-- | mail/teapop-devel/files/patch-aa | 21 | ||||
-rw-r--r-- | mail/teapop-devel/pkg-plist | 2 |
2 files changed, 22 insertions, 1 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 diff --git a/mail/teapop-devel/pkg-plist b/mail/teapop-devel/pkg-plist index 285abda1f705..d2f17a6ecb6b 100644 --- a/mail/teapop-devel/pkg-plist +++ b/mail/teapop-devel/pkg-plist @@ -1,2 +1,2 @@ libexec/teapop -etc/teapop.passwd +etc/teapop.passwd.sample |