aboutsummaryrefslogtreecommitdiffstats
path: root/mail/exim/pkg-install
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2002-09-12 18:09:02 +0800
committersheldonh <sheldonh@FreeBSD.org>2002-09-12 18:09:02 +0800
commitf8408b8bd28d68095a62ee8ee726e57ebd2bcd98 (patch)
tree4e7cae6bdd75447720eeac36662c352a9219343f /mail/exim/pkg-install
parent32522f97b03178aa71aa6eab4952edd91064ccec (diff)
downloadfreebsd-ports-gnome-f8408b8bd28d68095a62ee8ee726e57ebd2bcd98.tar.gz
freebsd-ports-gnome-f8408b8bd28d68095a62ee8ee726e57ebd2bcd98.tar.zst
freebsd-ports-gnome-f8408b8bd28d68095a62ee8ee726e57ebd2bcd98.zip
I agree with the Exim community that the exim-4.xx has reached production
quality. Move exim to exim-old for folks who need exim-3.xx, because the configuration file for exim-4.xx is not backward compatible. Move exim-devel to exim, removing NO_LATEST_LINK: repo-copy exim -> exim-old copy over exim-devel -> exim retire exim-devel Slave ports are intended for use with the exim port, as before, so they now build and install for exim-4.xx.
Diffstat (limited to 'mail/exim/pkg-install')
-rw-r--r--mail/exim/pkg-install11
1 files changed, 4 insertions, 7 deletions
diff --git a/mail/exim/pkg-install b/mail/exim/pkg-install
index 69539a8c560f..40ad765f2fcf 100644
--- a/mail/exim/pkg-install
+++ b/mail/exim/pkg-install
@@ -13,19 +13,16 @@
PKG_PREFIX=${PKG_PREFIX:=/usr/local}
-uid=26
-gid=6
user=mailnull
group=mail
if [ "$2" = "PRE-INSTALL" ]; then
- # uid=26(mailnull) gid=26(mailnull) groups=26(mailnull)
- if ! /usr/bin/id ${uid} | /usr/bin/grep -q "uid=${uid}(${user})"; then
- echo "Exim requires user ${user} (UID ${uid}). Please update your system." 1>&2
+ if ! /usr/bin/id ${user} > /dev/null; then
+ echo "Exim requires user ${user}. Please update your system." 1>&2
exit 1
fi
- if ! /usr/bin/grep -q "^${group}:[^:]*:${gid}:" < /etc/group; then
- echo "Exim requires group ${group} (GID ${gid}). Please update your system." 1>&2
+ if ! /usr/bin/grep -q "^${group}:" < /etc/group; then
+ echo "Exim requires group ${group}. Please update your system." 1>&2
exit 1
fi
fi