Commit Graph

6 Commits

Author SHA1 Message Date
Robin Bowes
bd1fec4e8d Fix up spec file to build direct from git checkout 2012-10-02 21:13:44 +00:00
Robert
9348539ed7 don't create homedir in RPM
based on..

From: Charlie Brady <charlieb-qpsmtpd@budge.apana.org.au>
Subject: rpm packaging bug - smtpd user created with shell not /bin/false
Date: Sat, 17 Jul 2010 18:17:49 -0400 (EDT)
Message-ID:
 <Pine.LNX.4.64.1007171816230.19928@e-smith.charlieb.ott.istop.com>

http://bugs.contribs.org/show_bug.cgi?id=6025

if ! id smtpd >/dev/null 2>&1
then
    # need to create smtpd user.
    if perl -e 'exit ! defined(getgrnam("postdrop"))'
    then
    # if postfix is installed, we will probably use
    # queue/postfix, which will need this:
        supp="-G postdrop"
    fi
    useradd -r -m $supp smtpd
fi

qpsmtpd needs a user "smtpd", but should not create a home directory or
give access to a shell.
2010-07-25 21:48:26 -07:00
Ask Bjørn Hansen
a1ef2d13cf Fix rpmlint errors; correct License field to 'MIT' 2010-02-12 21:30:02 -08:00
Ask Bjørn Hansen
36a8c8a6cd Untabify 2010-02-12 21:29:32 -08:00
Filippo Carletti
2a35963bd4 Requires(pre): coreutils, shadow-utils, perl
to avoid useradd errors during install
2010-02-12 21:12:15 -08:00
Robin Bowes
0ad86534db Initial check-in of RPM packaging tree 2009-07-14 21:52:40 +01:00