1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

Move all the dma(8) components into one single directory

Simplifying maintainance and options (only one place to deal with MK_DMAGENT)

This also makes packaging base less intrusive by getting a single point where
to add tags.
This commit is contained in:
Baptiste Daroussin 2015-10-09 22:09:44 +00:00
parent dd985c8f7a
commit 855ff27c8c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=289087
11 changed files with 27 additions and 53 deletions

View File

@ -239,9 +239,6 @@ distribution:
.endif
${_+_}cd ${.CURDIR}/defaults; ${MAKE} install
${_+_}cd ${.CURDIR}/devd; ${MAKE} install
.if ${MK_DMAGENT} != "no"
${_+_}cd ${.CURDIR}/dma; ${MAKE} install
.endif
${_+_}cd ${.CURDIR}/gss; ${MAKE} install
${_+_}cd ${.CURDIR}/periodic; ${MAKE} install
.if ${MK_PKGBOOTSTRAP} != "no"

View File

@ -1,8 +0,0 @@
# $FreeBSD$
FILES= dma.conf
NO_OBJ=
FILESDIR= /etc/dma
.include <bsd.prog.mk>

View File

@ -8,7 +8,6 @@ SUBDIR= ${_atf} \
${_casper} \
${_comsat} \
${_dma} \
${_dma-mbox-create} \
getty \
${_mail.local} \
${_mknetid} \
@ -56,7 +55,6 @@ _comsat= comsat
.if ${MK_DMAGENT} != "no"
_dma= dma
_dma-mbox-create= dma-mbox-create
.endif
.if ${MK_NIS} != "no"

View File

@ -1,18 +0,0 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../../contrib/dma
CFLAGS= -I${.CURDIR}/../../contrib/dma \
-DHAVE_REALLOCF -DHAVE_STRLCPY -DHAVE_GETPROGNAME \
-DCONF_PATH='"/etc/dma"' \
-DLIBEXEC_PATH='"/usr/libexec"' -DDMA_VERSION='"v0.9+"'
MAN=
WARNS= 2
PROG= dma-mbox-create
BINGRP= mail
BINMODE= 4554
.include <bsd.prog.mk>

13
libexec/dma/Makefile.inc Normal file
View File

@ -0,0 +1,13 @@
# $FreeBSD$
.sinclude "${.CURDIR}/../../Makefile.inc"
DMA_SOURCES= ${.CURDIR}/../../../contrib/dma
.PATH: ${DMA_SOURCES}
CFLAGS= -I${DMA_SOURCES} \
-DHAVE_REALLOCF -DHAVE_STRLCPY -DHAVE_GETPROGNAME \
-DCONF_PATH='"/etc/dma"' \
-DLIBEXEC_PATH='"/usr/libexec"' -DDMA_VERSION='"v0.9+"' \
-DDMA_ROOT_USER='"mailnull"' \
-DDMA_GROUP='"mail"'
BINGRP= mail

View File

@ -0,0 +1,10 @@
# $FreeBSD$
MAN=
WARNS= 2
PROG= dma-mbox-create
BINMODE= 4554
.include <bsd.prog.mk>

View File

@ -1,13 +1,5 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../../contrib/dma
CFLAGS= -I${.CURDIR}/../../contrib/dma \
-DHAVE_REALLOCF -DHAVE_STRLCPY -DHAVE_GETPROGNAME \
-DCONF_PATH='"/etc/dma"' \
-DLIBEXEC_PATH='"/usr/libexec"' -DDMA_VERSION='"v0.9+"' \
-DDMA_ROOT_USER='"mailnull"' \
-DDMA_GROUP='"mail"'
LIBADD= ssl crypto
PROG= dma
@ -24,10 +16,13 @@ SRCS= aliases_parse.y \
spool.c \
util.c
MAN8= dma.8
CONFS= dma.conf
CONFSDIR= ${ETCDIR}/dma
YFLAGS+= -i
CLEANFILES= aliases_parse.i
FILES= mailer.conf
FILESDIR= ${SHAREDIR}/examples/dma
BINGRP= mail
BINMODE= 2555
.include <bsd.compiler.mk>

View File

@ -255,9 +255,6 @@ SUBDIR+=ipfilter
.if ${MK_PF} != "no"
SUBDIR+=pf
.endif
.if ${MK_DMAGENT} != "no"
SUBDIR+=dma
.endif
.endif
.if ${MK_TESTS} != "no"

View File

@ -1,10 +0,0 @@
# $FreeBSD$
NO_OBJ=
FILES= mailer.conf
FILESDIR= ${SHAREDIR}/examples/dma
.include <bsd.prog.mk>