From owner-svn-ports-head@freebsd.org Fri Dec 25 08:49:44 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3D0B74BB310; Fri, 25 Dec 2020 08:49:44 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D2LGw1CZsz4hNw; Fri, 25 Dec 2020 08:49:44 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 17ECC1FDA3; Fri, 25 Dec 2020 08:49:44 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0BP8nhoQ064026; Fri, 25 Dec 2020 08:49:43 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0BP8nhcY064025; Fri, 25 Dec 2020 08:49:43 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <202012250849.0BP8nhcY064025@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Fri, 25 Dec 2020 08:49:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r559218 - in head/mail/mailfromd: . files X-SVN-Group: ports-head X-SVN-Commit-Author: danfe X-SVN-Commit-Paths: in head/mail/mailfromd: . files X-SVN-Commit-Revision: 559218 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Dec 2020 08:49:44 -0000 Author: danfe Date: Fri Dec 25 08:49:43 2020 New Revision: 559218 URL: https://svnweb.freebsd.org/changeset/ports/559218 Log: - Install rc.d startup script for `calloutd' - Chase r559216 shared library version bump Submitted by: maintainer Added: head/mail/mailfromd/files/calloutd.in (contents, props changed) Modified: head/mail/mailfromd/Makefile Modified: head/mail/mailfromd/Makefile ============================================================================== --- head/mail/mailfromd/Makefile Fri Dec 25 08:31:10 2020 (r559217) +++ head/mail/mailfromd/Makefile Fri Dec 25 08:49:43 2020 (r559218) @@ -3,6 +3,7 @@ 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}/ @@ -21,7 +22,7 @@ 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} Added: head/mail/mailfromd/files/calloutd.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/mailfromd/files/calloutd.in Fri Dec 25 08:49:43 2020 (r559218) @@ -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"