Fixup minor oversights from r490780 mail/fetchmail*

* Update comment in mail/fetchmail/files/fetchmailrc.sample
* Remove mail/fetchmail/files/fetchmail.in that got copied
  to mail/fetchmailconf/files/
This commit is contained in:
Matthias Andree 2019-01-20 11:28:49 +00:00
parent 4c4538f165
commit 69c071117a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=490783
2 changed files with 1 additions and 24 deletions

View File

@ -1,22 +0,0 @@
#!/bin/sh
#
# Wrapper for the real fetchmailconf. Checks whether Python and Tkinter are
# installed, and runs the real fetchmailconf or alerts the user, as appropriate.
#
# $FreeBSD$
LOCALBASE=%%LOCALBASE%%
if [ -x $LOCALBASE/bin/python ] ; then
PYTHON_VERSION=python$(${LOCALBASE}/bin/python -c 'import sys; print sys.version[:3]' 2>/dev/null)
if [ -e ${LOCALBASE}/lib/${PYTHON_VERSION}/lib-dynload/_tkinter.so ]; then
exec ${LOCALBASE}/libexec/fetchmailconf.py "$@"
fi
fi
cat <<EOF
The fetchmailconf program requires Python with Tkinter, which does
not appear to be installed on this system. Python can be found in
the FreeBSD Ports Collection in lang/python, and Tkinter for Python
can be found in x11-toolkits/py-tkinter.
EOF
exit 1

View File

@ -1,4 +1,3 @@
# Your fetchmail configuration goes here. # Your fetchmail configuration goes here.
# #
# See fetchmail(1), and/or use fetchmailconf (must not build the port # See fetchmail(1), and/or use fetchmailconf (a separate port)
# WITHOUT_X11).