diff options
author | jim <jim@FreeBSD.org> | 2000-08-13 17:39:52 +0800 |
---|---|---|
committer | jim <jim@FreeBSD.org> | 2000-08-13 17:39:52 +0800 |
commit | 1ba4a18c43dcf4b0e7aaff08ad0c0d4bfa8a7251 (patch) | |
tree | 86580b3e52d35b07d77d8c7f1addb6e1761dca70 /mail/teapop | |
parent | 95d2bcdd6e6170182c9897b34046e68f7345cbc1 (diff) | |
download | freebsd-ports-gnome-1ba4a18c43dcf4b0e7aaff08ad0c0d4bfa8a7251.tar.gz freebsd-ports-gnome-1ba4a18c43dcf4b0e7aaff08ad0c0d4bfa8a7251.tar.zst freebsd-ports-gnome-1ba4a18c43dcf4b0e7aaff08ad0c0d4bfa8a7251.zip |
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')
-rw-r--r-- | mail/teapop/files/patch-aa | 21 | ||||
-rw-r--r-- | mail/teapop/pkg-plist | 2 |
2 files changed, 22 insertions, 1 deletions
diff --git a/mail/teapop/files/patch-aa b/mail/teapop/files/patch-aa new file mode 100644 index 000000000000..efa6e7efca00 --- /dev/null +++ b/mail/teapop/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/pkg-plist b/mail/teapop/pkg-plist index 285abda1f705..d2f17a6ecb6b 100644 --- a/mail/teapop/pkg-plist +++ b/mail/teapop/pkg-plist @@ -1,2 +1,2 @@ libexec/teapop -etc/teapop.passwd +etc/teapop.passwd.sample |