From nobody Fri Sep 22 05:07:54 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RsKyy4ZPGz4vWQQ; Fri, 22 Sep 2023 05:07:54 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RsKyy3rsFz3ffy; Fri, 22 Sep 2023 05:07:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695359274; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=aXllYg0/3/i6v7RcTBdEbQeKSyIImxuNgIi9oExJvxw=; b=svFPjA0JQnMqH2vVBWISDBbB0gZDD0FdPnzxPRDHJWIcAAG4Gfhw9Id3t3ObhjXWW14tAJ 18mZilA57q/wd6DO4gjigGwfk6HHiTRaZyNC0wN5KzRD415HM0rBd8xtrUJEujCm9by+zt UYDqwBOv83UQnHzFsI9nAe9N1/KDVHHY5iskfiYGozI5vaTIulIQGIBTiCdFVusC/utsPw MFN/HZtoXZSw9VqDxMg6VujHhH6Pam+TIB9foySZNOR0dhWK+B1xq2uF7KGWmF/U5jeM/I 17SJcSnhioT3RKrojbRm7C3+2GPZ6Wf0KGd7jjnaFxw1oHOLJGw6+4AsmjvZ9Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695359274; a=rsa-sha256; cv=none; b=odUyBrbpTxYDy8BAzOEnBC4fBTu07+iBgI3OzUOtuiUohX+cLx4EbYNXAT/+h6oaiHo1v4 +DOM7CA/5FWETQM8w3nbOD78Rob62zyDEWmyBEZKOBqf5vBInyZ5KTxPCP/XsjWpAEhzjb fOFBBAxGpbdRfy3ySvKOilF9i0fM/hey8a/TTXs0sFHFZhSD8IqV9FLvkoh7goqUP3uAE8 /jhunEtbqIGaL3/hFw2HBnbgtpB/I16SxWUBP4CgxRRinqVc3nne73CT++iII8CVRY1V/M x1srpXNIhFRMaaXe7CxvGjyNlANc0GWDvJA0mC3L5Zcx94vy8rp0NgbJ/GCPtQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695359274; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=aXllYg0/3/i6v7RcTBdEbQeKSyIImxuNgIi9oExJvxw=; b=w0Yl9Qz9oarHtBg1KGTSkgfvmW+J3sgxzTBHhDOPZvsMnDu77IcEr94QeJyW/dmEF34XAz ZVkmwjozz61Dg9aw4tauj8Kn4viwypfk/N6UvfKeVXuKNASdVrpDRYFoFLjR/PDuUcY6O1 ulvA7djuaVuj88tn0EQpU6FlvS3XDFgflb0yDhayVeRswtZV688I2Y6NvxWvgvxWzAd7ym zwpjJQG9m/mkvKFTWEsTJV1Zwq3Bvi3J+mlMKOtOETe82FOvShnyRSRzuZwu/0ef4HBv79 y3MaFFk5CRJWoKGEkUOuOeHOqqJaXQpaFFRw8D4k9K2N/P1b+MvpW9+Zwu+wFw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RsKyy2ykWz17bY; Fri, 22 Sep 2023 05:07:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 38M57sBa066059; Fri, 22 Sep 2023 05:07:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38M57sFJ066056; Fri, 22 Sep 2023 05:07:54 GMT (envelope-from git) Date: Fri, 22 Sep 2023 05:07:54 GMT Message-Id: <202309220507.38M57sFJ066056@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 3e774cb07c9b - main - mail/postsrsd: add missing files and variables List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3e774cb07c9bb3a4fc28ad8d69c009c123fe3714 Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=3e774cb07c9bb3a4fc28ad8d69c009c123fe3714 commit 3e774cb07c9bb3a4fc28ad8d69c009c123fe3714 Author: Krzysztof AuthorDate: 2023-09-19 17:08:25 +0000 Commit: Robert Clausecker CommitDate: 2023-09-22 04:54:46 +0000 mail/postsrsd: add missing files and variables This fixes an issue where postsrsd would fail to start. Reported by: Javier Sturman PR: 273787 --- mail/postsrsd/Makefile | 7 ++++++- mail/postsrsd/files/postsrsd.in | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/mail/postsrsd/Makefile b/mail/postsrsd/Makefile index cf906a7d0d4a..bf7cd417785b 100644 --- a/mail/postsrsd/Makefile +++ b/mail/postsrsd/Makefile @@ -1,5 +1,6 @@ PORTNAME= postsrsd -PORTVERSION= 2.0.8 +DISTVERSION= 2.0.8 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= mail @@ -32,6 +33,7 @@ SUB_FILES= pkg-message PLIST_FILES= \ sbin/postsrsd \ + "@sample ${ETCDIR}.conf.sample" \ "@dir /var/db/${PORTNAME}" PORTDOCS= CHANGELOG.rst README.rst postsrsd.conf @@ -48,4 +50,7 @@ SQLITE_DESC= Use sqlite3 backebd for storing envelope senders SQLITE_USES= sqlite SQLITE_CMAKE_BOOL= WITH_SQLITE +post-install: + ${INSTALL_DATA} ${WRKSRC}/doc/postsrsd.conf ${STAGEDIR}${PREFIX}/etc/postsrsd.conf.sample + .include diff --git a/mail/postsrsd/files/postsrsd.in b/mail/postsrsd/files/postsrsd.in index a4625245439c..1e0617568447 100644 --- a/mail/postsrsd/files/postsrsd.in +++ b/mail/postsrsd/files/postsrsd.in @@ -13,6 +13,7 @@ # postsrsd_enable (bool): Set to "NO" by default. # Set it to "YES" to enable postsrsd. # postsrsd_uid (str): Set username to run postsrsd. +# postsrsd_secret (str): Secret file file. See postsrsd(8) # postsrsd_flags (str): Flags passed to start command. . /etc/rc.subr @@ -33,6 +34,7 @@ load_rc_config $name # : ${postsrsd_enable="NO"} : ${postsrsd_uid="mailnull"} +: ${postsrsd_secret="%%PREFIX%%/etc/postsrsd.secret"} # Options other than above can be set with $postsrsd_flags. # see postsrsd documentation for detail.