forked from ports/contrib
qmail: cleanup and better scripts
This commit is contained in:
parent
d3bea3a77e
commit
5dfc85bee0
@ -1,8 +1,7 @@
|
||||
# $Id$
|
||||
# Maintainer: Han Boetes <han@mijncomputer.nl>
|
||||
# Description: qmail is the proof security-bugfree software can be written.
|
||||
# URL: http://www.qmail.org/
|
||||
# Depends on:
|
||||
# Depends on:
|
||||
|
||||
name=qmail
|
||||
version=1.05
|
||||
@ -14,10 +13,14 @@ source="
|
||||
|
||||
build ()
|
||||
{
|
||||
if ! grep -q qmaild /etc/passwd; then
|
||||
echo "Read the README!" >&2
|
||||
false
|
||||
fi
|
||||
cd net$name-$version
|
||||
./collate.sh
|
||||
cd net$name-$version
|
||||
patch < $SRC/patch-Makefile
|
||||
patch -i $SRC/patch-Makefile
|
||||
echo "${CC:=gcc} $CFLAGS" > conf-cc
|
||||
echo "${CC:=gcc -s}" > conf-ld
|
||||
make it man
|
||||
|
@ -1,12 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
groupadd -g 81 nofiles
|
||||
useradd -u 81 -g nofiles -d /var/qmail/alias alias
|
||||
useradd -u 82 -g nofiles -d /var/qmail qmaild
|
||||
useradd -u 83 -g nofiles -d /var/qmail qmaill
|
||||
useradd -u 84 -g nofiles -d /var/qmail qmailp
|
||||
groupadd -g 82 qmail
|
||||
useradd -u 85 -g qmail -d /var/qmail qmailq
|
||||
useradd -u 86 -g qmail -d /var/qmail qmailr
|
||||
useradd -u 87 -g qmail -d /var/qmail qmails
|
||||
groupadd -g 250 nofiles
|
||||
useradd -u 250 -g nofiles -d /var/qmail/alias alias -s /sbin/nologin
|
||||
useradd -u 251 -g nofiles -d /var/qmail qmaild -s /sbin/nologin
|
||||
useradd -u 252 -g nofiles -d /var/qmail qmaill -s /sbin/nologin
|
||||
useradd -u 253 -g nofiles -d /var/qmail qmailp -s /sbin/nologin
|
||||
|
||||
groupadd -g 251 qmail
|
||||
useradd -u 254 -g qmail -d /var/qmail qmailq -s /sbin/nologin
|
||||
useradd -u 255 -g qmail -d /var/qmail qmailr -s /sbin/nologin
|
||||
useradd -u 256 -g qmail -d /var/qmail qmails -s /sbin/nologin
|
||||
|
@ -1,12 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
groupadd nofiles
|
||||
useradd -g nofiles -d /var/qmail/alias alias
|
||||
useradd -g nofiles -d /var/qmail qmaild
|
||||
useradd -g nofiles -d /var/qmail qmaill
|
||||
useradd -g nofiles -d /var/qmail qmailp
|
||||
useradd -g nofiles -d /var/qmail/alias alias -s /sbin/nologin
|
||||
useradd -g nofiles -d /var/qmail qmaild -s /sbin/nologin
|
||||
useradd -g nofiles -d /var/qmail qmaill -s /sbin/nologin
|
||||
useradd -g nofiles -d /var/qmail qmailp -s /sbin/nologin
|
||||
groupadd qmail
|
||||
useradd -g qmail -d /var/qmail qmailq
|
||||
useradd -g qmail -d /var/qmail qmailr
|
||||
useradd -g qmail -d /var/qmail qmails
|
||||
|
||||
useradd -g qmail -d /var/qmail qmailq -s /sbin/nologin
|
||||
useradd -g qmail -d /var/qmail qmailr -s /sbin/nologin
|
||||
useradd -g qmail -d /var/qmail qmails -s /sbin/nologin
|
||||
|
Loading…
x
Reference in New Issue
Block a user