# $FreeBSD$
PORTNAME?= fetchmail
DISTVERSION= 6.4.12
DISTVERSION= 6.4.13
PORTREVISION?= 3
CATEGORIES= mail
# The next line is inherited by the fetchmailconf slave port,
# do NOT replace fetchmail by ${PORTNAME}
TIMESTAMP = 1599207773
TIMESTAMP = 1604697110
SHA256 (fetchmail-6.4.12.tar.xz) = 2b84e0971dbf683ec7edd313f9218adbc7dc51c1de9825b3b549bf619c1a4887
SHA256 (fetchmail-6.4.13.tar.xz) = 7d28cf060b06b9c8ec72267be7edc9a99b70f61d7d32d8b609458dcedfa74be1
SIZE (fetchmail-6.4.12.tar.xz) = 1303532
SIZE (fetchmail-6.4.13.tar.xz) = 1308248
# query a value from the fetchmail config file, value specified in first argument
fetchmail_dump_config()
{
su -m ${fetchmail_user} -c "/bin/sh -c 'fetchmail -f ${fetchmail_config} --configdump'" | fgrep $1 | cut -d: -f2
su -m ${fetchmail_user} -c "/bin/sh -c '${command} -f ${fetchmail_config} --configdump'" | fgrep $1 | cut -d: -f2
}
# arguments: