aboutsummaryrefslogtreecommitdiffstats
path: root/mail/sendmail
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2001-10-10 03:20:15 +0800
committerdinoex <dinoex@FreeBSD.org>2001-10-10 03:20:15 +0800
commit0be6599b6f01889feb0f445c94d9230ac20d5437 (patch)
treead3a192460f85c5fbde32a7d9d0d7dd7664e2243 /mail/sendmail
parent34f765174dd5c96027d637ead6e81f5b0bd86937 (diff)
downloadfreebsd-ports-gnome-0be6599b6f01889feb0f445c94d9230ac20d5437.tar.gz
freebsd-ports-gnome-0be6599b6f01889feb0f445c94d9230ac20d5437.tar.zst
freebsd-ports-gnome-0be6599b6f01889feb0f445c94d9230ac20d5437.zip
Remove user only if uid matches, so a user in the bas system won't be deleted.
Remove double deletion of docdir.
Diffstat (limited to 'mail/sendmail')
-rw-r--r--mail/sendmail/pkg-plist5
1 files changed, 2 insertions, 3 deletions
diff --git a/mail/sendmail/pkg-plist b/mail/sendmail/pkg-plist
index bb126e8720f5..17e7c032bf63 100644
--- a/mail/sendmail/pkg-plist
+++ b/mail/sendmail/pkg-plist
@@ -1,10 +1,10 @@
-@comment $FreeBSD: /tmp/pcvs/ports/mail/sendmail/pkg-plist,v 1.6 2001-10-07 06:51:44 dinoex Exp $
+@comment $FreeBSD: /tmp/pcvs/ports/mail/sendmail/pkg-plist,v 1.7 2001-10-09 19:20:15 dinoex Exp $
@exec if ! pw groupshow smmsp 2>/dev/null; then pw groupadd smmsp -g 90; fi
@exec if ! pw usershow smmsp 2>/dev/null; then pw useradd smmsp -g smmsp -u 90 -h - -d /nonexistent -s /nonexistent -c "Sendmail Queue"; fi
@exec mkdir -p /var/spool/clientmqueue
@exec chown smmsp:smmsp /var/spool/clientmqueue
@exec chmod 770 /var/spool/clientmqueue
-@unexec pw userdel smmsp
+@unexec if pw usershow smmsp | grep -q 90:90; then pw userdel smmsp; fi
@comment (removed by userdel) pw groupdel smmsp
bin/hoststat
bin/mailq
@@ -26,4 +26,3 @@ sbin/sendmail
%%PORTDOCS%%share/doc/sendmail/SENDMAIL
%%PORTDOCS%%share/doc/sendmail/MAIL.LOCAL
%%PORTDOCS%%share/doc/sendmail/SMRSH
-%%PORTDOCS%%@dirrm share/doc/sendmail