Index: head/mail/mailfromd/Makefile =================================================================== --- head/mail/mailfromd/Makefile (revision 559217) +++ head/mail/mailfromd/Makefile (revision 559218) @@ -1,73 +1,74 @@ # Created by: Zeus Panchenko # $FreeBSD$ PORTNAME= mailfromd PORTVERSION= 8.8 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://download.gnu.org.ua/pub/release/${PORTNAME}/ \ http://download.gnu.org.ua/pub/alpha/${PORTNAME}/ MAINTAINER= zeus@gnu.org.ua COMMENT= Mail filtering daemon for Sendmail, Postfix, and MeTA1 LICENSE= GPLv3+ LIB_DEPENDS= libmailutils.so:mail/mailutils \ libadns.so:dns/adns \ libgnutls.so:security/gnutls USES= gmake localbase readline tar:xz GNU_CONFIGURE= yes CONFIGURE_ENV= DEFAULT_STATE_DIR="${DATABASEDIR}" \ DEFAULT_SOCKET="unix:${MFD_RUN_DIR}/${PORTNAME}.sock" \ DEFAULT_USER=mailnull -USE_RC_SUBR= ${PORTNAME} +USE_RC_SUBR= calloutd ${PORTNAME} DATABASEDIR?= /var/db/${PORTNAME} MFD_RUN_DIR?= /var/run/${PORTNAME} PLIST_SUB+= DATABASEDIR=${DATABASEDIR} \ MFD_RUN_DIR=${MFD_RUN_DIR} \ VERSION=${PORTVERSION} SUB_LIST+= MFD_RUN_DIR=${MFD_RUN_DIR} INFO= ${PORTNAME} PORTDOCS= AUTHORS ChangeLog NEWS README THANKS TODO OPTIONS_DEFINE= DOCS DSPAM NLS OPTIONS_DEFAULT= GDBM OPTIONS_MULTI= DB OPTIONS_MULTI_DB= BDB GDBM OPTIONS_SUB= yes BDB_DESC= Berkeley DB v4.8 support (last working one) DB_DESC= Database configuration DSPAM_DESC= DSPAM spam filter library support DSPAM_LIB_DEPENDS= libdspam.so:mail/dspam DSPAM_USES= pkgconfig DSPAM_CONFIGURE_WITH= dspam NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls BDB_USES= bdb BDB_CONFIGURE_WITH= berkeley-db BDB_CPPFLAGS= -I${BDB_INCLUDE_DIR} BDB_LDFLAGS= -L${BDB_LIB_DIR} GDBM_LIB_DEPENDS= libgdbm.so:databases/gdbm GDBM_CONFIGURE_WITH= gdbm .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-debug .endif post-install: @${MKDIR} ${STAGEDIR}${DATABASEDIR} ${STAGEDIR}${MFD_RUN_DIR} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Index: head/mail/mailfromd/files/calloutd.in =================================================================== --- head/mail/mailfromd/files/calloutd.in (nonexistent) +++ head/mail/mailfromd/files/calloutd.in (revision 559218) @@ -0,0 +1,27 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: calloutd +# REQUIRE: DAEMON +# BEFORE: mail +# KEYWORD: shutdown +# + +. /etc/rc.subr + +name="calloutd" +rcvar=calloutd_enable + +: ${calloutd_enable="NO"} + +command="%%PREFIX%%/sbin/${name}" +pidfile="/var/run/${name}.pid" + +required_files="%%PREFIX%%/etc/mailfromd.conf" + +extra_commands="configlint" +configlint_cmd="${name} --config-lint" + +load_rc_config ${name} +run_rc_command "$1" Property changes on: head/mail/mailfromd/files/calloutd.in ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property