commit
7677089d54
|
@ -1,12 +1,10 @@
|
|||
case ${ACTION} in
|
||||
post)
|
||||
# fix permissions and owners
|
||||
mkdir -p /var/spool/dma # -p avoids error if dir exists
|
||||
chown root:mail var/spool/dma
|
||||
chmod g+sw var/spool/dma
|
||||
chown root:mail usr/bin/dma
|
||||
chmod g+s usr/bin/dma
|
||||
# do i need to care about /var/spool/mail, too? i don't think so, but i can't test it.
|
||||
;;
|
||||
# fix permissions and owners
|
||||
chown root:mail usr/bin/dma
|
||||
chmod 2755 usr/bin/dma
|
||||
chown root:mail usr/lib/dma-mbox-create
|
||||
chmod 4754 usr/lib/dma-mbox-create
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
# Template file for 'dma'
|
||||
pkgname=dma
|
||||
version=0.11
|
||||
revision=4
|
||||
revision=5
|
||||
conf_files="/etc/dma/*.conf"
|
||||
make_dirs="/var/spool/dma 2775 root mail"
|
||||
hostmakedepends="flex"
|
||||
makedepends="libressl-devel"
|
||||
short_desc="Small Mail Transport Agent (MTA), designed for home and office use"
|
||||
|
@ -22,4 +23,5 @@ do_build() {
|
|||
do_install() {
|
||||
vmkdir usr/bin
|
||||
make PREFIX=/usr SBIN=/usr/bin DESTDIR=${DESTDIR} sendmail-link mailq-link install-etc install
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue